ssh-basic test

Hardy Merrill hmerrill at redhat.com
Thu Jun 5 00:04:23 EST 2003


I'm running 'make check' to run the testsuite, and I did it
this way so the ssh-basic test would run:

  # export rsync_enable_ssh_tests=yes
  # make check

I did set up ssh so this would run, and here's what I get
for output:

POSIXLY_CORRECT=1 TOOLDIR=`pwd` rsync_bin=`pwd`/rsync srcdir="." ./runtests.sh
============================================================
./runtests.sh running in /usr/src/redhat/BUILD/rsync-2.5.6_no_segvpatch
    rsync_bin=/usr/src/redhat/BUILD/rsync-2.5.6_no_segvpatch/rsync
    srcdir=.
    testuser=root
    os=Linux merrill.boston.redhat.com 2.4.20-13.9smp #1 SMP Mon May 12 10:48:05 EDT 2003 i686 i686 i386 GNU/Linux
    preserve_scratch=no
    scratchbase=/usr/src/redhat/BUILD/rsync-2.5.6_no_segvpatch/testtmp
PASS    00-hello
PASS    chgrp
PASS    chown
PASS    daemon-gzip-download
PASS    daemon-gzip-upload
PASS    daemon
PASS    devices
SKIP    duplicates (Known minor bug in this code)
PASS    hands
PASS    hardlinks
PASS    longdir
----- ssh-basic log follows
Testing for symlinks using 'test -h'
Test ssh: basic test: Running: "/usr/src/redhat/BUILD/rsync-2.5.6_no_segvpatch/rsync -avH -e ssh --rsync-path=/usr/src/redhat/BUILD/rsync-2.5.6_no_segvpatch/rsync /usr/src/redhat/BUILD/rsync-2.5.6_no_segvpatch/testtmp.ssh-basic/from/ localhost:/usr/src/redhat/BUILD/rsync-2.5.6_no_segvpatch/testtmp.ssh-basic/to"
building file list ... link_stat /usr/src/redhat/BUILD/rsync-2.5.6_no_segvpatch/testtmp.ssh-basic/from/. : No such file or directory
done
wrote 25 bytes  read 20 bytes  90.00 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files could not be transferred (code 23) at main.c(620)
-------------
check how the files compare with diff:
                                                                                
./testsuite/ssh-basic.test: line 1: cd: /usr/src/redhat/BUILD/rsync-2.5.6_no_segvpatch/testtmp.ssh-basic/from/: No such file or directory
diff: /usr/src/redhat/BUILD/rsync-2.5.6_no_segvpatch/testtmp.ssh-basic/from//./doc/.cvsignore: No such file or directory

=================================================================

It does go on from there, but just more of the same
'No such file or directory' errors.

Notice .../testtmp.ssh-basic/from/ and
       .../testtmp.ssh-basic/to

listed in that output above.  The testtmp.ssh-basic directory
contains 'ls-from' and 'ls-to' files (both 0 length), but no
'from' and 'to' directories.  Did I do something wrong, or is
there something missing?

Thanks.

-- 
Hardy Merrill
Red Hat, Inc.



More information about the rsync mailing list