Test the new wildmatch() routine using the wildtest executable.
authorWayne Davison <wayned@samba.org>
Sat, 5 Jul 2003 00:08:11 +0000 (00:08 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 5 Jul 2003 00:08:11 +0000 (00:08 +0000)
testsuite/wildmatch.test [new file with mode: 0644]

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