Commit 21706678 authored by Wayne Davison's avatar Wayne Davison

Make use of $suitedir.

parent 705132bc
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# Test that rsync handles basic ACL preservation. # Test that rsync handles basic ACL preservation.
. $srcdir/testsuite/rsync.fns . $suitedir/rsync.fns
$RSYNC --version | grep ", ACLs" >/dev/null || test_skipped "Rsync is configured without ACL support" $RSYNC --version | grep ", ACLs" >/dev/null || test_skipped "Rsync is configured without ACL support"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# Test that the --chmod option functions correctly. # Test that the --chmod option functions correctly.
. $srcdir/testsuite/rsync.fns . $suitedir/rsync.fns
# Build some files # Build some files
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# Test that rsync obeys default ACLs. -- Matt McCutchen # Test that rsync obeys default ACLs. -- Matt McCutchen
. $srcdir/testsuite/rsync.fns . $suitedir/rsync.fns
$RSYNC --version | grep ", ACLs" >/dev/null || test_skipped "Rsync is configured without ACL support" $RSYNC --version | grep ", ACLs" >/dev/null || test_skipped "Rsync is configured without ACL support"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# Test that rsync obeys directory setgid. -- Matt McCutchen # Test that rsync obeys directory setgid. -- Matt McCutchen
. $srcdir/testsuite/rsync.fns . $suitedir/rsync.fns
umask 077 umask 077
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# Test the --executability or -E option. -- Matt McCutchen # Test the --executability or -E option. -- Matt McCutchen
. $srcdir/testsuite/rsync.fns . $suitedir/rsync.fns
# Put some files in the From directory # Put some files in the From directory
mkdir "$fromdir" mkdir "$fromdir"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# Test three bugs fixed by my redoing of the missing_below logic. # Test three bugs fixed by my redoing of the missing_below logic.
. $srcdir/testsuite/rsync.fns . $suitedir/rsync.fns
makepath "$fromdir/subdir" "$todir" makepath "$fromdir/subdir" "$todir"
echo data >"$fromdir/subdir/file" echo data >"$fromdir/subdir/file"
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
# License along with this program; if not, write to the Free Software # License along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
tmpdir="$scratchdir" tmpdir="$scratchdir"
fromdir="$tmpdir/from" fromdir="$tmpdir/from"
todir="$tmpdir/to" todir="$tmpdir/to"
...@@ -31,7 +30,7 @@ dots='.....' # trailing dots after changes ...@@ -31,7 +30,7 @@ dots='.....' # trailing dots after changes
# Berkley's nice. # Berkley's nice.
PATH="$PATH:/usr/ucb" PATH="$PATH:/usr/ucb"
if diff -u "$srcdir/testsuite/rsync.fns" "$srcdir/testsuite/rsync.fns" >/dev/null 2>&1; then if diff -u "$suitedir/rsync.fns" "$suitedir/rsync.fns" >/dev/null 2>&1; then
diffopt="-u" diffopt="-u"
else else
diffopt="-c" diffopt="-c"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# Test that rsync handles basic xattr preservation. # Test that rsync handles basic xattr preservation.
. $srcdir/testsuite/rsync.fns . $suitedir/rsync.fns
$RSYNC --version | grep ", xattrs" >/dev/null || test_skipped "Rsync is configured without xattr support" $RSYNC --version | grep ", xattrs" >/dev/null || test_skipped "Rsync is configured without xattr support"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment