From 8867ee930606a2d9126b742b1c5ad7a8fa425190 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 13 Feb 2014 12:14:31 +0100 Subject: fix make distcheck --- test/emptycmp.test | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'test/emptycmp.test') 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 @@ ## -*- 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/1.plist $srcdir/data/1.plist.out +DATASRC=$top_srcdir/test/data +DATAOUT=$top_builddir/test/data +TESTFILE=1.plist +$top_builddir/test/plist_cmp $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out -- cgit v1.1-32-gdbae