rsync-2.5.2 make test fails on solaris 7

Jie Gao J.Gao at isu.usyd.edu.au
Thu Feb 28 12:41:06 EST 2002


Hi All,

Ver:      rsync-2.5.2
Platform: SunOS xxxxx 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-80
Compiler: gcc version 2.95.2 19991024 (release)

root%/usr/local/src/rsync-2.5.2:108> gmake test
POSIXLY_CORRECT=1 TLS=`pwd`/tls rsync_bin=`pwd`/rsync srcdir="." ./runtests.sh
============================================================
./runtests.sh running in /opt/src/rsync-2.5.2
    rsync_bin=/opt/src/rsync-2.5.2/rsync
    srcdir=.
    scratchbase=/opt/src/rsync-2.5.2/testtmp
PASS    00-hello
PASS    daemon
PASS    devices
SKIP    duplicates
PASS    hands
PASS    hardlinks
FAIL    longdir
----- longdir failed: log follows
        makepath
/opt/src/rsync-2.5.2/testtmp.longdir/from/This-is-a-directory-with-a-stupidly-long-name-created-in-an-attempt-to-provoke-an-error-found-in-2.0.11-that-should-hopefully-never-appear-again-if-this-test-does-its-job/This-is-a-directory-with-a-stupidly-long-name-created-in-an-attempt-to-provoke-an-error-found-in-2.0.11-that-should-hopefully-never-appear-again-if-this-test-does-its-job/This-is-a-directory-with-a-stupidly-long-name-created-in-an-attempt-to-provoke-an-error-found-in-2.0.11-that-should-hopefully-never-appear-again-if-this-test-does-its-job
Running: "/opt/src/rsync-2.5.2/rsync --delete -avH /opt/src/rsync-2.5.2/testtmp.longdir/from/
/opt/src/rsync-2.5.2/testtmp.longdir/to"
rsync: building file list...
rsync: 19 files to consider.
./
This-is-a-directory-with-a-stupidly-long-name-created-in-an-attempt-to-provoke-an-error-found-in-2.0.11-that-should-hopefully-never-appear-again-if-this-test-does-its-job/This-is-a-directory-with-a-stupidly-long-name-created-in-an-attempt-to-provoke-an-error-found-in-2.0.11-that-should-hopefully-never-appear-again-if-this-test-does-its-job/This-is-a-directory-with-a-stupidly-long-name-created-in-an-attempt-to-provoke-an-error-found-in-2.0.11-that-should-hopefully-never-appear-again-if-this-test-does-its-job/1
This-is-a-directory-with-a-stupidly-long-name-created-in-an-attempt-to-provoke-an-error-found-in-2.0.11-that-should-hopefully-never-appear-again-if-this-test-does-its-job/This-is-a-directory-with-a-stupidly-long-name-created-in-an-attempt-to-provoke-an-error-found-in-2.0.11-that-should-hopefully-never-appear-again-if-this-test-does-its-job/This-is-a-directory-with-a-stupidly-long-name-created-in-an-attempt-to-provoke-an-error-found-in-2.0.11-that-should-hopefully-never-appear-again-if-this-test-does-its-job/2
dir/subdir/subsubdir/etc-ltr-list
dir/subdir/subsubdir2/bin-lt-list
dir/text
empty
emptydir/
filelist
nolf
rsync: nolf-symlink -> nolf
text
wrote 716734 bytes  read 164 bytes  1433796.00 bytes/sec
total size is 714769  speedup is 1.00
-------------
check how the files compare with diff:

diff: illegal option -- u
usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2
       diff [-bitw] [-C number] file1 file2
       diff [-bitw] [-D string] file1 file2
       diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name] directory1 directory2
diff: illegal option -- u
usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2
       diff [-bitw] [-C number] file1 file2
       diff [-bitw] [-D string] file1 file2
       diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name] directory1 directory2
diff: illegal option -- u
usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2
       diff [-bitw] [-C number] file1 file2
       diff [-bitw] [-D string] file1 file2
       diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name] directory1 directory2
diff: illegal option -- u
usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2
       diff [-bitw] [-C number] file1 file2
       diff [-bitw] [-D string] file1 file2
       diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name] directory1 directory2
diff: illegal option -- u
usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2
       diff [-bitw] [-C number] file1 file2
       diff [-bitw] [-D string] file1 file2
       diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name] directory1 directory2
diff: illegal option -- u
usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2
       diff [-bitw] [-C number] file1 file2
       diff [-bitw] [-D string] file1 file2
       diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name] directory1 directory2
diff: illegal option -- u
usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2
       diff [-bitw] [-C number] file1 file2
       diff [-bitw] [-D string] file1 file2
       diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name] directory1 directory2
diff: illegal option -- u
usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2
       diff [-bitw] [-C number] file1 file2
       diff [-bitw] [-D string] file1 file2
       diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name] directory1 directory2
diff: illegal option -- u
usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2
       diff [-bitw] [-C number] file1 file2
       diff [-bitw] [-D string] file1 file2
       diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name] directory1 directory2
-------------
check how the directory listings compare with diff:

No differences encountered
----- longdir log ends
SKIP    ssh-basic
FAIL    symlink-ignore
----- symlink-ignore failed: log follows
+ build_symlinks
fromdir=/opt/src/rsync-2.5.2/testtmp.symlink-ignore/from
todir=/opt/src/rsync-2.5.2/testtmp.symlink-ignore/to
+ mkdir /opt/src/rsync-2.5.2/testtmp.symlink-ignore/from
+ date
+ ln -s referent /opt/src/rsync-2.5.2/testtmp.symlink-ignore/from/relative
+ ln -s /opt/src/rsync-2.5.2/testtmp.symlink-ignore/from/referent
/opt/src/rsync-2.5.2/testtmp.symlink-ignore/from/absolute
+ ln -s nonexistent /opt/src/rsync-2.5.2/testtmp.symlink-ignore/from/dangling
+ ln -s ./rsync.c /opt/src/rsync-2.5.2/testtmp.symlink-ignore/from/unsafe
+ /opt/src/rsync-2.5.2/rsync -r /opt/src/rsync-2.5.2/testtmp.symlink-ignore/from/
/opt/src/rsync-2.5.2/testtmp.symlink-ignore/to
rsync: skipping non-regular file "absolute"
rsync: skipping non-regular file "dangling"
rsync: skipping non-regular file "relative"
rsync: skipping non-regular file "unsafe"
+ [ -f /opt/src/rsync-2.5.2/testtmp.symlink-ignore/to/referent ]
+ [ -d /opt/src/rsync-2.5.2/testtmp.symlink-ignore/to/from ]
+ [ -L /opt/src/rsync-2.5.2/testtmp.symlink-ignore/to/dangling ]
./testsuite/symlink-ignore.test: test: argument expected
----- symlink-ignore log ends
------------------------------------------------------------
----- overall results:
      5 passed
      2 failed
      2 skipped
------------------------------------------------------------
overall result is 2
gmake: *** [check] Error 2


Regards,



Jie





More information about the rsync mailing list