Improved the trailing comment.
[rsync/rsync.git] / testsuite / wildmatch.test
index 3366dd5..53123f4 100644 (file)
 
 set -x
 
-"$TOOLDIR/wildtest" >"$scratchdir/wild.out"
-diff -c "$scratchdir/wild.out" - <<EOF
+"$TOOLDIR/wildtest" "$srcdir/wildtest.txt" >"$scratchdir/wild.out"
+diff $diffopt "$scratchdir/wild.out" - <<EOF
+No wildmatch errors found.
 EOF
 
+# The script would have aborted on error, so getting here means we've won.
 exit 0