Files
rsync/testsuite/wildmatch.test
2004-02-04 18:24:41 +00:00

21 lines
452 B
Bash

#! /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" "$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