Commit | Line | Data |
---|---|---|
1 | #! /bin/sh | |
2 | ||
3 | # Copyright (C) 2003 by Wayne Davison <wayned@samba.org> | |
4 | ||
5 | # This program is distributable under the terms of the GNU GPL (see | |
6 | # COPYING). | |
7 | ||
8 | # Test the wildmatch functionality | |
9 | ||
10 | . "$suitedir/rsync.fns" | |
11 | ||
12 | set -x | |
13 | ||
14 | "$TOOLDIR/wildtest" "$srcdir/wildtest.txt" >"$scratchdir/wild.out" | |
15 | diff $diffopt "$scratchdir/wild.out" - <<EOF | |
16 | No wildmatch errors found. | |
17 | EOF | |
18 | ||
19 | # The script would have aborted on error, so getting here means we've won. | |
20 | exit 0 |