Test the new wildmatch() routine using the wildtest executable.
[rsync/rsync.git] / testsuite / wildmatch.test
diff --git a/testsuite/wildmatch.test b/testsuite/wildmatch.test
new file mode 100644 (file)
index 0000000..5ef586b
--- /dev/null
@@ -0,0 +1,18 @@
+#! /bin/sh
+
+# Copyright (C) 2003 by Wayne Davison <wayned@samba.org>
+
+# This program is distributable under the terms of the GNU GPL (see
+# COPYING).
+
+# Test the wildmatch functionality
+
+. $srcdir/testsuite/rsync.fns
+
+set -x
+
+"$TOOLDIR/wildtest" >"$scratchdir/wild.out"
+diff -u "$scratchdir/wild.out" - <<EOF
+EOF
+
+exit 0