]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Fix the chgrp and hardlinks tests by running $RSYNC instead of relying on the
authorJos Backus <jos@samba.org>
Tue, 5 Nov 2002 18:35:59 +0000 (18:35 +0000)
committerJos Backus <jos@samba.org>
Tue, 5 Nov 2002 18:35:59 +0000 (18:35 +0000)
new rsync being in $PATH; it may pick up an old version, invalidating the
result of the tests. This is what the other tests do already.

Submitted by: Joel Shprentz <ShprentzJ@nima.mil>

testsuite/chgrp.test
testsuite/hardlinks.test

index 33aef14653099c976075eb9074c71f89b089a3a4..cabe4ef6ef94dec7274d15aaff0f68b31e2e528c 100644 (file)
@@ -31,7 +31,7 @@ do
 done
 sleep 2
 
-checkit "rsync -rtgvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
+checkit "$RSYNC -rtgvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
 
 exit 0
 # last [] may have failed but if we get here then we've won
index 3405f15e939f9f05da91ae409be4899691db1853..025974d79f4ad3b90b3be60b1f14f64d05c6ec5e 100644 (file)
@@ -31,7 +31,7 @@ ln "$name1" "$name2" || fail "Can't create hardlink"
 ln "$name2" "$name3" || fail "Can't create hardlink"
 cp "$name2" "$name4" || fail "Can't copy file"
 
-checkit "rsync -aHvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
+checkit "$RSYNC -aHvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
 
 exit 0
 # last [] may have failed but if we get here then we've won