X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/be2f866b4cacadbed2d18bd6b3e23ae0afc04d4e..145794936fc7e87c500dd809e8e67313105825fb:/testsuite/rsync.fns diff --git a/testsuite/rsync.fns b/testsuite/rsync.fns index 165dfa0c..1e9e8193 100644 --- a/testsuite/rsync.fns +++ b/testsuite/rsync.fns @@ -150,7 +150,11 @@ checkit() { echo "-------------" echo "check how the files compare with diff:" echo "" - diff -cr $2 $3 || failed=YES + for f in `cd "$2"; find . -type f -print ` + do + diff -u "$2"/"$f" "$3"/"$f" || failed=YES + done + echo "-------------" echo "check how the directory listings compare with diff:" echo "" @@ -222,6 +226,11 @@ test_fail() { exit 1 } +test_skipped() { + echo "$@" >&2 + exit 77 +} + # It failed, but we expected that. don't dump out error logs, # because most users won't want to see them. But do leave # the working directory around.