diff options
| author | 2014-02-13 12:14:31 +0100 | |
|---|---|---|
| committer | 2014-02-13 12:14:31 +0100 | |
| commit | 8867ee930606a2d9126b742b1c5ad7a8fa425190 (patch) | |
| tree | cd68fba84007c810a184e48360ddb78a2f2ed389 /test/emptycmp.test | |
| parent | 497a5980d837e212f2444688dce72c6080762280 (diff) | |
| download | libplist-8867ee930606a2d9126b742b1c5ad7a8fa425190.tar.gz libplist-8867ee930606a2d9126b742b1c5ad7a8fa425190.tar.bz2 | |
fix make distcheck
Diffstat (limited to 'test/emptycmp.test')
| -rwxr-xr-x | test/emptycmp.test | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/test/emptycmp.test b/test/emptycmp.test index 9fcd685..2496866 100755 --- a/test/emptycmp.test +++ b/test/emptycmp.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=1.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/1.plist $srcdir/data/1.plist.out | ||
| 12 | 6 | ||
| 7 | $top_builddir/test/plist_cmp $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out | ||
