diff options
Diffstat (limited to 'test/smallcmp.test')
| -rwxr-xr-x | test/smallcmp.test | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/test/smallcmp.test b/test/smallcmp.test index fb10787..461a8e6 100755 --- a/test/smallcmp.test +++ b/test/smallcmp.test | |||
| @@ -1,12 +1,7 @@ | |||
| 1 | ## -*- sh -*- | 1 | ## -*- sh -*- |
| 2 | 2 | ||
| 3 | # Common definitions | 3 | DATASRC=$top_srcdir/test/data |
| 4 | if test -z "$srcdir"; then | 4 | DATAOUT=$top_builddir/test/data |
| 5 | srcdir=echo "$0" | sed 's,[^/]*$,,' | 5 | TESTFILE=2.plist |
| 6 | test "$srcdir" = "$0" && srcdir=. | ||
| 7 | test -z "$srcdir" && srcdir=. | ||
| 8 | test "${VERBOSE+set}" != set && VERBOSE=1 | ||
| 9 | fi | ||
| 10 | |||
| 11 | $srcdir/plist_cmp $srcdir/data/2.plist $srcdir/data/2.plist.out | ||
| 12 | 6 | ||
| 7 | $top_builddir/test/plist_cmp $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out | ||
