Commit 8a3d4658 authored by Wayne Davison's avatar Wayne Davison

Decided I don't like "set -x".

parent 6b439248
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
. "$suitedir/rsync.fns" . "$suitedir/rsync.fns"
set -x
hands_setup hands_setup
cd "$tmpdir" cd "$tmpdir"
......
...@@ -11,8 +11,6 @@ ...@@ -11,8 +11,6 @@
. "$suitedir/rsync.fns" . "$suitedir/rsync.fns"
set -x
# Build some hardlinks # Build some hardlinks
mygrps="`rsync_getgroups`" || fail "Can't get groups" mygrps="`rsync_getgroups`" || fail "Can't get groups"
......
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
. $srcdir/testsuite/rsync.fns . $srcdir/testsuite/rsync.fns
set -x
# Build some files # Build some files
fromdir="$scratchdir/from" fromdir="$scratchdir/from"
......
...@@ -11,8 +11,6 @@ ...@@ -11,8 +11,6 @@
. "$suitedir/rsync.fns" . "$suitedir/rsync.fns"
set -x
hands_setup hands_setup
tmpdir2=/tmp tmpdir2=/tmp
......
...@@ -11,8 +11,6 @@ ...@@ -11,8 +11,6 @@
. "$suitedir/rsync.fns" . "$suitedir/rsync.fns"
set -x
hands_setup hands_setup
chmod 440 "$fromdir/text" chmod 440 "$fromdir/text"
......
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
. "$suitedir/rsync.fns" . "$suitedir/rsync.fns"
set -x
case `id -u` in case `id -u` in
'') ;; # If "id" failed, try to continue... '') ;; # If "id" failed, try to continue...
0) ;; 0) ;;
......
...@@ -14,8 +14,6 @@ alt2dir="$tmpdir/alt2" ...@@ -14,8 +14,6 @@ alt2dir="$tmpdir/alt2"
# Build some files/dirs/links to copy # Build some files/dirs/links to copy
set -x
hands_setup hands_setup
# Setup the alt and chk dirs # Setup the alt and chk dirs
......
...@@ -26,8 +26,6 @@ build_rsyncd_conf ...@@ -26,8 +26,6 @@ build_rsyncd_conf
RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon" RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon"
export RSYNC_CONNECT_PROG export RSYNC_CONNECT_PROG
set -x
hands_setup hands_setup
# Build chkdir with a normal rsync and an --exclude. # Build chkdir with a normal rsync and an --exclude.
......
...@@ -20,8 +20,6 @@ build_rsyncd_conf ...@@ -20,8 +20,6 @@ build_rsyncd_conf
RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon" RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon"
export RSYNC_CONNECT_PROG export RSYNC_CONNECT_PROG
set -x
hands_setup hands_setup
# Build chkdir with a normal rsync and an --exclude. # Build chkdir with a normal rsync and an --exclude.
......
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
. "$suitedir/rsync.fns" . "$suitedir/rsync.fns"
set -x
hands_setup hands_setup
makepath "$chkdir" makepath "$chkdir"
......
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
. "$suitedir/rsync.fns" . "$suitedir/rsync.fns"
set -x
# Build some hardlinks # Build some hardlinks
mkdir "$fromdir" mkdir "$fromdir"
......
...@@ -15,8 +15,6 @@ ...@@ -15,8 +15,6 @@
CVSIGNORE='*.junk' CVSIGNORE='*.junk'
export CVSIGNORE export CVSIGNORE
set -x
# Build some files/dirs/links to copy # Build some files/dirs/links to copy
makepath "$fromdir/foo/down/to/you" makepath "$fromdir/foo/down/to/you"
......
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
. "$suitedir/rsync.fns" . "$suitedir/rsync.fns"
set -x
mkdir "$fromdir" mkdir "$fromdir"
mkdir "$todir" mkdir "$todir"
......
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
. "$suitedir/rsync.fns" . "$suitedir/rsync.fns"
set -x
# Build some hardlinks # Build some hardlinks
fromdir="$scratchdir/from" fromdir="$scratchdir/from"
......
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
. "$suitedir/rsync.fns" . "$suitedir/rsync.fns"
set -x
lddir="$tmpdir/ld" lddir="$tmpdir/ld"
chkfile="$scratchdir/rsync.chk" chkfile="$scratchdir/rsync.chk"
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
. "$suitedir/rsync.fns" . "$suitedir/rsync.fns"
set -x
hands_setup hands_setup
longname=This-is-a-directory-with-a-stupidly-long-name-created-in-an-attempt-to-provoke-an-error-found-in-2.0.11-that-should-hopefully-never-appear-again-if-this-test-does-its-job longname=This-is-a-directory-with-a-stupidly-long-name-created-in-an-attempt-to-provoke-an-error-found-in-2.0.11-that-should-hopefully-never-appear-again-if-this-test-does-its-job
......
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
. "$suitedir/rsync.fns" . "$suitedir/rsync.fns"
set -x
# Build some files/dirs/links to copy # Build some files/dirs/links to copy
from1dir="${fromdir}1" from1dir="${fromdir}1"
......
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
. "$suitedir/rsync.fns" . "$suitedir/rsync.fns"
set -x
build_symlinks || test_fail "failed to build symlinks" build_symlinks || test_fail "failed to build symlinks"
# Copy recursively, but without -l or -L or -a, and all the symlinks # Copy recursively, but without -l or -L or -a, and all the symlinks
......
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
. "$suitedir/rsync.fns" . "$suitedir/rsync.fns"
set -x
"$TOOLDIR/trimslash" "/usr/local/bin" "/usr/local/bin/" "/usr/local/bin///" \ "$TOOLDIR/trimslash" "/usr/local/bin" "/usr/local/bin/" "/usr/local/bin///" \
"//a//" "////" \ "//a//" "////" \
"/Users/Wierd Macintosh Name/// Ooh, translucent plastic/" \ "/Users/Wierd Macintosh Name/// Ooh, translucent plastic/" \
......
...@@ -32,8 +32,6 @@ ln -s ../files/file1 "from/safe/links/" ...@@ -32,8 +32,6 @@ ln -s ../files/file1 "from/safe/links/"
ln -s ../files/file2 "from/safe/links/" ln -s ../files/file2 "from/safe/links/"
ln -s ../../unsafe/unsafefile "from/safe/links/" ln -s ../../unsafe/unsafefile "from/safe/links/"
set -x
echo "rsync with relative path and just -a"; echo "rsync with relative path and just -a";
$RSYNC -avv from/safe/ to $RSYNC -avv from/safe/ to
test_symlink to/links/file1 test_symlink to/links/file1
......
...@@ -9,11 +9,10 @@ ...@@ -9,11 +9,10 @@
. "$suitedir/rsync.fns" . "$suitedir/rsync.fns"
set -x
# This test exercises the wildmatch() function (with no options) and the # This test exercises the wildmatch() function (with no options) and the
# wildmatch_join() function (using -x and/or -e). # wildmatch_join() function (using -x and/or -e).
for opts in "" -x1 "-x1 -e1" "-x1 -e1se" -x2 "-x2 -ese" -x3 "-x3 -e1" -x4 "-x4 -e2e" -x5 "-x5 -es"; do for opts in "" -x1 "-x1 -e1" "-x1 -e1se" -x2 "-x2 -ese" -x3 "-x3 -e1" -x4 "-x4 -e2e" -x5 "-x5 -es"; do
echo Running wildtest with "$opts"
"$TOOLDIR/wildtest" $opts "$srcdir/wildtest.txt" >"$scratchdir/wild.out" "$TOOLDIR/wildtest" $opts "$srcdir/wildtest.txt" >"$scratchdir/wild.out"
diff $diffopt "$scratchdir/wild.out" - <<EOF diff $diffopt "$scratchdir/wild.out" - <<EOF
No wildmatch errors found. No wildmatch errors found.
......
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