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 ""
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.
+test_xfail() {
+ echo "$@" >&2
+ exit 78
+}
+
# be reproducible
umask 077
\ No newline at end of file