- Use $suitedir to find rsync.fns.
authorWayne Davison <wayned@samba.org>
Tue, 18 May 2004 00:41:35 +0000 (00:41 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 18 May 2004 00:41:35 +0000 (00:41 +0000)
- The values of fromdir and todir are already set.

testsuite/chgrp.test
testsuite/chown.test
testsuite/devices.test
testsuite/duplicates.test

index 6c7bb60..12ffa41 100644 (file)
@@ -9,15 +9,12 @@
 # the test is a member of them.  Hopefully they're in at least one
 # test.
 
-. $srcdir/testsuite/rsync.fns
+. "$suitedir/rsync.fns"
 
 set -x
 
 # Build some hardlinks
 
-fromdir="$scratchdir/from"
-todir="$scratchdir/to"
-
 mygrps="`rsync_getgroups`" || fail "Can't get groups"
 mkdir "$fromdir"
 
index 2291eca..755ffdf 100644 (file)
 # We don't know what users will be present on this system, so we just
 # use random numeric uids and gids.
 
-. $srcdir/testsuite/rsync.fns
+. "$suitedir/rsync.fns"
 
 set -x
 
 # Build some hardlinks
 
-fromdir="$scratchdir/from"
-todir="$scratchdir/to"
-
 mkdir "$fromdir"
 name1="$fromdir/name1"
 name2="$fromdir/name2"
index 04b9e6a..ed84fb4 100644 (file)
@@ -7,15 +7,12 @@
 
 # Test rsync handling of devices.  This can only run if you're root.
 
-. $srcdir/testsuite/rsync.fns
+. "$suitedir/rsync.fns"
 
 set -x
 
 # Build some hardlinks
 
-fromdir="$scratchdir/from"
-todir="$scratchdir/to"
-
 case `id -u` in
 '') ;; # If "id" failed, try to continue...
 0) ;;
index 9b1a24c..23d2994 100644 (file)
 
 # This test is not great, because it is a timing-dependent bug.
 
-. $srcdir/testsuite/rsync.fns
+. "$suitedir/rsync.fns"
 
 set -x
 
 # Build some hardlinks
 
-fromdir="$scratchdir/from"
-todir="$scratchdir/to"
-
 mkdir "$fromdir"
 name1="$fromdir/name1"
 name2="$fromdir/name2"