. "$suitedir/rsync.fns"
-set -x
-
hands_setup
cd "$tmpdir"
. "$suitedir/rsync.fns"
-set -x
-
# Build some hardlinks
mygrps="`rsync_getgroups`" || fail "Can't get groups"
. $srcdir/testsuite/rsync.fns
-set -x
-
# Build some files
fromdir="$scratchdir/from"
. "$suitedir/rsync.fns"
-set -x
-
hands_setup
tmpdir2=/tmp
. "$suitedir/rsync.fns"
-set -x
-
hands_setup
chmod 440 "$fromdir/text"
. "$suitedir/rsync.fns"
-set -x
-
case `id -u` in
'') ;; # If "id" failed, try to continue...
0) ;;
# Build some files/dirs/links to copy
-set -x
-
hands_setup
# Setup the alt and chk dirs
RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon"
export RSYNC_CONNECT_PROG
-set -x
-
hands_setup
# Build chkdir with a normal rsync and an --exclude.
RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon"
export RSYNC_CONNECT_PROG
-set -x
-
hands_setup
# Build chkdir with a normal rsync and an --exclude.
. "$suitedir/rsync.fns"
-set -x
-
hands_setup
makepath "$chkdir"
. "$suitedir/rsync.fns"
-set -x
-
# Build some hardlinks
mkdir "$fromdir"
CVSIGNORE='*.junk'
export CVSIGNORE
-set -x
-
# Build some files/dirs/links to copy
makepath "$fromdir/foo/down/to/you"
. "$suitedir/rsync.fns"
-set -x
-
mkdir "$fromdir"
mkdir "$todir"
. "$suitedir/rsync.fns"
-set -x
-
# Build some hardlinks
fromdir="$scratchdir/from"
. "$suitedir/rsync.fns"
-set -x
-
lddir="$tmpdir/ld"
chkfile="$scratchdir/rsync.chk"
. "$suitedir/rsync.fns"
-set -x
-
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
. "$suitedir/rsync.fns"
-set -x
-
# Build some files/dirs/links to copy
from1dir="${fromdir}1"
. "$suitedir/rsync.fns"
-set -x
-
build_symlinks || test_fail "failed to build symlinks"
# Copy recursively, but without -l or -L or -a, and all the symlinks
. "$suitedir/rsync.fns"
-set -x
-
"$TOOLDIR/trimslash" "/usr/local/bin" "/usr/local/bin/" "/usr/local/bin///" \
"//a//" "////" \
"/Users/Wierd Macintosh Name/// Ooh, translucent plastic/" \
ln -s ../files/file2 "from/safe/links/"
ln -s ../../unsafe/unsafefile "from/safe/links/"
-set -x
-
echo "rsync with relative path and just -a";
$RSYNC -avv from/safe/ to
test_symlink to/links/file1
. "$suitedir/rsync.fns"
-set -x
-
# This test exercises the wildmatch() function (with no options) and the
# 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
+ echo Running wildtest with "$opts"
"$TOOLDIR/wildtest" $opts "$srcdir/wildtest.txt" >"$scratchdir/wild.out"
diff $diffopt "$scratchdir/wild.out" - <<EOF
No wildmatch errors found.