diff options
| author | 2014-02-13 12:14:31 +0100 | |
|---|---|---|
| committer | 2014-02-13 12:14:31 +0100 | |
| commit | 8867ee930606a2d9126b742b1c5ad7a8fa425190 (patch) | |
| tree | cd68fba84007c810a184e48360ddb78a2f2ed389 /test/empty.test | |
| parent | 497a5980d837e212f2444688dce72c6080762280 (diff) | |
| download | libplist-8867ee930606a2d9126b742b1c5ad7a8fa425190.tar.gz libplist-8867ee930606a2d9126b742b1c5ad7a8fa425190.tar.bz2 | |
fix make distcheck
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 | ||
