diff options
Diffstat (limited to 'test/empty.test')
| -rwxr-xr-x | test/empty.test | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/test/empty.test b/test/empty.test index 2a036a3..d092ee3 100755 --- a/test/empty.test +++ b/test/empty.test | |||
| @@ -1,12 +1,11 @@ | |||
| 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=1.plist |
| 6 | test "$srcdir" = "$0" && srcdir=. | ||
| 7 | test -z "$srcdir" && srcdir=. | ||
| 8 | test "${VERBOSE+set}" != set && VERBOSE=1 | ||
| 9 | fi | ||
| 10 | 6 | ||
| 11 | $srcdir/plist_test $srcdir/data/1.plist | 7 | if ! test -d "$DATAOUT"; then |
| 8 | mkdir -p $DATAOUT | ||
| 9 | fi | ||
| 12 | 10 | ||
| 11 | $top_builddir/test/plist_test $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out | ||
