diff options
author | Nikias Bassen | 2014-02-13 12:14:31 +0100 |
---|---|---|
committer | Nikias Bassen | 2014-02-13 12:14:31 +0100 |
commit | 8867ee930606a2d9126b742b1c5ad7a8fa425190 (patch) | |
tree | cd68fba84007c810a184e48360ddb78a2f2ed389 /test/smallcmp.test | |
parent | 497a5980d837e212f2444688dce72c6080762280 (diff) | |
download | libplist-8867ee930606a2d9126b742b1c5ad7a8fa425190.tar.gz libplist-8867ee930606a2d9126b742b1c5ad7a8fa425190.tar.bz2 |
fix make distcheck
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 @@ ## -*- sh -*- -# Common definitions -if test -z "$srcdir"; then - srcdir=echo "$0" | sed 's,[^/]*$,,' - test "$srcdir" = "$0" && srcdir=. - test -z "$srcdir" && srcdir=. - test "${VERBOSE+set}" != set && VERBOSE=1 -fi - -$srcdir/plist_cmp $srcdir/data/2.plist $srcdir/data/2.plist.out +DATASRC=$top_srcdir/test/data +DATAOUT=$top_builddir/test/data +TESTFILE=2.plist +$top_builddir/test/plist_cmp $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out |