Use $suitedir to find rsync.fns.
[rsync/rsync.git] / testsuite / wildmatch.test
index 4bfddbc..71e0ff0 100644 (file)
@@ -7,12 +7,14 @@
 
 # Test the wildmatch functionality
 
-. $srcdir/testsuite/rsync.fns
+. "$suitedir/rsync.fns"
 
 set -x
 
-"$TOOLDIR/wildtest" >"$scratchdir/wild.out"
+"$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