Bug 5440 - 'relative' test fails on SunOs 5.8
'relative' test fails on SunOs 5.8
Status: RESOLVED FIXED
Product: rsync
Classification: Unclassified
Component: core
3.0.2
Sparc Solaris
: P3 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-05 21:32 UTC by Brian Egge
Modified: 2013-02-18 13:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Egge 2008-05-05 21:32:29 UTC
os=SunOS myhost 5.8 Generic_117350-52 sun4u sparc SUNW,Netra-T12 Solaris

----- relative log follows
Testing for symlinks using 'test -h'
        makepath /src/rsync-3.0.2/testtmp/relative/from/down/3/deep
        makepath /src/rsync-3.0.2/testtmp/relative/from/extra/down/3/deep
        makepath /src/rsync-3.0.2/testtmp/relative/chk
sending incremental file list
down/
down/3/deep/

sent 269 bytes  received 30 bytes  598.00 bytes/sec
total size is 0  speedup is 0.00
.d..t...... ./
cd+++++++++ down/
cd+++++++++ down/3/
cd+++++++++ down/3/deep/
>f+++++++++ down/3/deep/empty
>f+++++++++ down/3/deep/filelist
>f+++++++++ down/3/deep/nolf
cL+++++++++ down/3/deep/nolf-symlink -> nolf
>f+++++++++ down/3/deep/text
cd+++++++++ down/3/deep/dir/
>f+++++++++ down/3/deep/dir/text
cd+++++++++ down/3/deep/dir/subdir/
>f+++++++++ down/3/deep/dir/subdir/foobar.baz
cd+++++++++ down/3/deep/dir/subdir/subsubdir/
>f+++++++++ down/3/deep/dir/subdir/subsubdir/etc-ltr-list
cd+++++++++ down/3/deep/dir/subdir/subsubdir2/
>f+++++++++ down/3/deep/dir/subdir/subsubdir2/bin-lt-list
cd+++++++++ down/3/deep/emptydir/
-n Test basic relative: 
Running: "/src/rsync-3.0.2/rsync  -avR ./down/3/deep "/src/rsync-3.0.2/testtmp/relative/to""
sending incremental file list
./
down/
down/3/
down/3/deep/
down/3/deep/empty
down/3/deep/filelist
down/3/deep/nolf
down/3/deep/nolf-symlink -> nolf
down/3/deep/text
down/3/deep/dir/
down/3/deep/dir/text
down/3/deep/dir/subdir/
down/3/deep/dir/subdir/foobar.baz
down/3/deep/dir/subdir/subsubdir/
down/3/deep/dir/subdir/subsubdir/etc-ltr-list
down/3/deep/dir/subdir/subsubdir2/
down/3/deep/dir/subdir/subsubdir2/bin-lt-list
down/3/deep/emptydir/

sent 1548854 bytes  received 202 bytes  281646.55 bytes/sec
total size is 1547935  speedup is 1.00
-------------
check how the directory listings compare with diff:

No differences encountered
-------------
check how the files compare with diff:

Common subdirectories: /src/rsync-3.0.2/testtmp/relative/chk/down and /src/rsync-3.0.2/testtmp/relative/to/down
Common subdirectories: /src/rsync-3.0.2/testtmp/relative/chk/down/3 and /src/rsync-3.0.2/testtmp/relative/to/down/3
Common subdirectories: /src/rsync-3.0.2/testtmp/relative/chk/down/3/deep and /src/rsync-3.0.2/testtmp/relative/to/down/3/deep
Common subdirectories: /src/rsync-3.0.2/testtmp/relative/chk/down/3/deep/dir and /src/rsync-3.0.2/testtmp/relative/to/down/3/deep/dir
Common subdirectories: /src/rsync-3.0.2/testtmp/relative/chk/down/3/deep/emptydir and /src/rsync-3.0.2/testtmp/relative/to/down/3/deep/emptydir
Common subdirectories: /src/rsync-3.0.2/testtmp/relative/chk/down/3/deep/dir/subdir and /src/rsync-3.0.2/testtmp/relative/to/down/3/deep/dir/subdir
Common subdirectories: /src/rsync-3.0.2/testtmp/relative/chk/down/3/deep/dir/subdir/subsubdir and /src/rsync-3.0.2/testtmp/relative/to/down/3/deep/dir/subdir/subsubdir
Common subdirectories: /src/rsync-3.0.2/testtmp/relative/chk/down/3/deep/dir/subdir/subsubdir2 and /src/rsync-3.0.2/testtmp/relative/to/down/3/deep/dir/subdir/subsubdir2
-------------
        done.
-n Test hard links: 
Running: "/src/rsync-3.0.2/rsync  -avHR ./down/3/deep/ "/src/rsync-3.0.2/testtmp/relative/to""
sending incremental file list
down/3/deep/dir/
down/3/deep/dir/filelist => down/3/deep/filelist

sent 431 bytes  received 47 bytes  956.00 bytes/sec
total size is 1583261  speedup is 3312.26
-------------
check how the directory listings compare with diff:

*** /src/rsync-3.0.2/testtmp/relative/ls-from     Tue May  6 12:18:05 2008
--- /src/rsync-3.0.2/testtmp/relative/ls-to       Tue May  6 12:18:06 2008
***************
*** 2,8 ****
  drwxr-xr-x            0   1307.200         3 2008-05-06 02:17:32 ./down
  drwxr-xr-x            0   1307.200         3 2008-05-06 02:17:33 ./down/3
  drwxr-xr-x            0   1307.200         4 2008-05-06 02:17:43 ./down/3/deep
! drwxr-xr-x            0   1307.200         3 2008-05-06 02:18:05 ./down/3/deep/dir
  -rw-r--r--        35326   1307.200         2 2008-05-06 02:17:35 ./down/3/deep/dir/filelist
  drwxr-xr-x            0   1307.200         4 2008-05-06 02:17:50 ./down/3/deep/dir/subdir
  -rw-r--r--           10   1307.200         1 2008-05-06 02:17:49 ./down/3/deep/dir/subdir/foobar.baz
--- 2,8 ----
  drwxr-xr-x            0   1307.200         3 2008-05-06 02:17:32 ./down
  drwxr-xr-x            0   1307.200         3 2008-05-06 02:17:33 ./down/3
  drwxr-xr-x            0   1307.200         4 2008-05-06 02:17:43 ./down/3/deep
! drwxr-xr-x            0   1307.200         3 2008-05-06 02:18:04 ./down/3/deep/dir
  -rw-r--r--        35326   1307.200         2 2008-05-06 02:17:35 ./down/3/deep/dir/filelist
  drwxr-xr-x            0   1307.200         4 2008-05-06 02:17:50 ./down/3/deep/dir/subdir
  -rw-r--r--           10   1307.200         1 2008-05-06 02:17:49 ./down/3/deep/dir/subdir/foobar.baz
-------------
check how the files compare with diff:

Common subdirectories: /src/rsync-3.0.2/testtmp/relative/chk/down and /src/rsync-3.0.2/testtmp/relative/to/down
Common subdirectories: /src/rsync-3.0.2/testtmp/relative/chk/down/3 and /src/rsync-3.0.2/testtmp/relative/to/down/3
Common subdirectories: /src/rsync-3.0.2/testtmp/relative/chk/down/3/deep and /src/rsync-3.0.2/testtmp/relative/to/down/3/deep
Common subdirectories: /src/rsync-3.0.2/testtmp/relative/chk/down/3/deep/dir and /src/rsync-3.0.2/testtmp/relative/to/down/3/deep/dir
Common subdirectories: /src/rsync-3.0.2/testtmp/relative/chk/down/3/deep/emptydir and /src/rsync-3.0.2/testtmp/relative/to/down/3/deep/emptydir
Common subdirectories: /src/rsync-3.0.2/testtmp/relative/chk/down/3/deep/dir/subdir and /src/rsync-3.0.2/testtmp/relative/to/down/3/deep/dir/subdir
Common subdirectories: /src/rsync-3.0.2/testtmp/relative/chk/down/3/deep/dir/subdir/subsubdir and /src/rsync-3.0.2/testtmp/relative/to/down/3/deep/dir/subdir/subsubdir
Common subdirectories: /src/rsync-3.0.2/testtmp/relative/chk/down/3/deep/dir/subdir/subsubdir2 and /src/rsync-3.0.2/testtmp/relative/to/down/3/deep/dir/subdir/subsubdir2
-------------
 failed!
----- relative log ends
FAIL    relative
Comment 1 Wayne Davison 2008-06-29 23:31:24 UTC
Does your file system have sub-second timestamps?  If so, does the latest rsync (3.0.3) fix this?
Comment 2 Brian Egge 2008-07-01 18:17:22 UTC
(In reply to comment #1)

I switched to 3.0.3, and now the daemon check fails.  3.0.3 tests pass on Solaris 10, but not on Solaris 8.  Not a huge deal, as this hasn't caused any noticable problems when running rsync.

FAIL    daemon
*** /usrdev/emgdev/src/rsync-3.0.3/testtmp/daemon/rsync.chk     Wed Jul  2 08:57:05 2008
--- /usrdev/emgdev/src/rsync-3.0.3/testtmp/daemon/rsync.out     Wed Jul  2 08:57:05 2008
***************
*** 1,7 ****
  drwxr-xr-x         DIR ####/##/## ##:##:## .
  drwxr-xr-x         DIR ####/##/## ##:##:## bar
! -rw-r--r--           4 ####/##/## ##:##:## bar/two
  drwxr-xr-x         DIR ####/##/## ##:##:## bar/baz
! -rw-r--r--           6 ####/##/## ##:##:## bar/baz/three
  drwxr-xr-x         DIR ####/##/## ##:##:## foo
! -rw-r--r--           4 ####/##/## ##:##:## foo/one
--- 1,7 ----
  drwxr-xr-x         DIR ####/##/## ##:##:## .
  drwxr-xr-x         DIR ####/##/## ##:##:## bar
! -rw-r--r--          4 ####/##/## ##:##:## bar/two
  drwxr-xr-x         DIR ####/##/## ##:##:## bar/baz
! -rw-r--r--          6 ####/##/## ##:##:## bar/baz/three
  drwxr-xr-x         DIR ####/##/## ##:##:## foo
! -rw-r--r--          4 ####/##/## ##:##:## foo/one
test 2 failed
----- daemon log ends
----- daemon rsyncd.log follows
Comment 3 Wayne Davison 2008-07-17 19:08:52 UTC
Perhaps the use of printf %11.0d had a slight space difference on your system.  The very latest code uses a utility function to output big numbers, so will hopefully work for everyone.