Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
If system won't let us set chmod bits, fall back to testing without
[rsync/rsync.git]
/
testsuite
/
wildmatch.test
diff --git
a/testsuite/wildmatch.test
b/testsuite/wildmatch.test
index
5ef586b
..
71e0ff0
100644
(file)
--- a/
testsuite/wildmatch.test
+++ b/
testsuite/wildmatch.test
@@
-7,12
+7,14
@@
# Test the wildmatch functionality
# Test the wildmatch functionality
-.
$srcdir/testsuite/rsync.fns
+.
"$suitedir/rsync.fns"
set -x
set -x
-"$TOOLDIR/wildtest" >"$scratchdir/wild.out"
-diff -u "$scratchdir/wild.out" - <<EOF
+"$TOOLDIR/wildtest" "$srcdir/wildtest.txt" >"$scratchdir/wild.out"
+diff $diffopt "$scratchdir/wild.out" - <<EOF
+No wildmatch errors found.
EOF
EOF
+# The script would have aborted on error, so getting here means we've won.
exit 0
exit 0