I have also been eager to test bbouncer
The latest source passes with flying colours!
but make check finds some problems with xattrs if not run by sudo

I have xattr in /usr/local/bin/  from the source found at:
http://dev.bignerdranch.com/public/bnr/eXttra.zip

What I did:

cd /usr/local/Source
rsync -av --exclude=.git/ rsync://rsync.samba.org/ftp/unpacked/rsync  .
rsync -av --exclude=.git/ rsync://rsync.samba.org/ftp/rsync/patches rsync
cd rsync

patch -p1 <patches/fileflags.diff
patch -p1 <patches/crtimes.diff
./configure
    rsync 3.0.1dev configuration successful
make
make check

----- xattrs log follows
Testing for symlinks using 'test -h'
        makepath /usr/local/Source/rsync/testtmp/xattrs/from/foo/bar
        makepath /usr/local/Source/rsync/testtmp/xattrs/chk/foo
Running: "/usr/local/Source/rsync/rsync -avX . '/usr/local/Source/ rsync/testtmp/xattrs/chk/'"
sending incremental file list
file0
file1
file2
file4
foo/bar/
foo/bar/file5

sent 786 bytes  received 121 bytes  1814.00 bytes/sec
total size is 38  speedup is 0.04
-------------
check how the directory listings compare with diff:

-------------
check how the files compare with diff:

-------------
--- /usr/local/Source/rsync/testtmp/xattrs/xattrs.txt 2008-03-03 21:24:32.000000000 +0100
+++ -   2008-03-03 21:24:32.000000000 +0100
@@ -12,13 +12,5 @@
         user.foo       foo
user.long a long attribute for our new file that tests to ensure that this works
 foo/file3
-         user.bar      new bar
- user.equal this long attribute should remain the same and not need to be transferred
-         user.foo      new foo
- user.long this is also a long attribute that will be truncated in the initial data send
 file4
 foo/bar/file5
-         user.bar      new bar
- user.equal this long attribute should remain the same and not need to be transferred
-         user.foo      new foo
- user.long this is also a long attribute that will be truncated in the initial data send
----- xattrs log ends
FAIL    xattrs
------------------------------------------------------------
----- overall results:
      30 passed
      1 failed
      6 skipped
------------------------------------------------------------
overall result is 1
make: *** [check] Error 1

sudo make check

.....
PASS    wildmatch
PASS    xattrs
------------------------------------------------------------
----- overall results:
      33 passed
      4 skipped
------------------------------------------------------------
overall result is 0


sudo make install
cd /usr/local/Source/backup-bouncer-0.1.2/
./bbouncer create-vol mysource
./bbouncer create-vol mybackup
./bbouncer create /Volumes/mysource/
sudo rsync -aHAXiP --fileflags --crtimes /Volumes/mysource/ /Volumes/ mybackup/
./bbouncer verify -d /Volumes/mysource/ /Volumes/mybackup

Verifying:    basic-permissions ... ok
Verifying:           timestamps ...
   Sub-test:    modification time ... ok
ok
Verifying:             symlinks ... ok
Verifying:    symlink-ownership ... ok
Verifying:            hardlinks ... ok
Verifying:       resource-forks ... ok
Verifying:         finder-flags ... ok
Verifying:         finder-locks ... ok
Verifying:        creation-date ... ok
Verifying:            bsd-flags ... ok
Verifying:       extended-attrs ...
   Sub-test:             on files ... ok
   Sub-test:       on directories ... ok
   Sub-test:          on symlinks ... ok
ok
Verifying: access-control-lists ...
   Sub-test:             on files ... ok
   Sub-test:              on dirs ... ok
ok
Verifying:                 fifo ... ok
Verifying:              devices ... ok
Verifying:          combo-tests ...
   Sub-test:  xattrs + rsrc forks ... ok
   Sub-test:     lots of metadata ... ok
ok


--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to