diff options
author | Wayne Davison <wayned@samba.org> | 2008-07-20 20:08:08 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2008-07-20 20:08:08 -0700 |
commit | eabc85ef5ecd7ed9892ee3d9562468dbb84cbef5 (patch) | |
tree | b99a79b1cce7d19e9ff497bce78b5718688d36ab /testsuite | |
parent | 5a18b34de343eca4b5537443e9bb207d91524d7e (diff) | |
download | rsync-eabc85ef5ecd7ed9892ee3d9562468dbb84cbef5.tar.gz rsync-eabc85ef5ecd7ed9892ee3d9562468dbb84cbef5.tar.bz2 rsync-eabc85ef5ecd7ed9892ee3d9562468dbb84cbef5.zip |
Added a debug-helping option, --msgs2stderr, than should help all
messages to be seen in a situation where rsync is dying (as long
as stderr is a viable output method for the remote rsync).
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/hands.test | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/testsuite/hands.test b/testsuite/hands.test index b60915d0..c12ab0a0 100644 --- a/testsuite/hands.test +++ b/testsuite/hands.test @@ -9,21 +9,23 @@ hands_setup +DEBUG_OPTS="--debug=all5,deltasum0 --msgs2stderr" + # Main script starts here runtest "basic operation" 'checkit "$RSYNC -av \"$fromdir/\" \"$todir\"" "$fromdir/" "$todir"' ln "$fromdir/filelist" "$fromdir/dir" -runtest "hard links" 'checkit "$RSYNC -avH --debug=all5 \"$fromdir/\" \"$todir\"" "$fromdir/" "$todir"' +runtest "hard links" 'checkit "$RSYNC -avH $DEBUG_OPTS \"$fromdir/\" \"$todir\"" "$fromdir/" "$todir"' rm "$todir/text" -runtest "one file" 'checkit "$RSYNC -avH --debug=hlink5 \"$fromdir/\" \"$todir\"" "$fromdir/" "$todir"' +runtest "one file" 'checkit "$RSYNC -avH $DEBUG_OPTS \"$fromdir/\" \"$todir\"" "$fromdir/" "$todir"' echo "extra line" >> "$todir/text" -runtest "extra data" 'checkit "$RSYNC -avH --debug=hlink5 --no-whole-file \"$fromdir/\" \"$todir\"" "$fromdir/" "$todir"' +runtest "extra data" 'checkit "$RSYNC -avH $DEBUG_OPTS --no-whole-file \"$fromdir/\" \"$todir\"" "$fromdir/" "$todir"' cp "$fromdir/text" "$todir/ThisShouldGo" -runtest " --delete" 'checkit "$RSYNC --delete -avH --debug=hlink5 \"$fromdir/\" \"$todir\"" "$fromdir/" "$todir"' +runtest " --delete" 'checkit "$RSYNC --delete -avH $DEBUG_OPTS \"$fromdir/\" \"$todir\"" "$fromdir/" "$todir"' cd "$tmpdir" rm -rf to from/*dir |