summaryrefslogtreecommitdiffstats
path: root/test/empty.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/empty.test')
-rwxr-xr-xtest/empty.test15
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 @@
## -*- 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
+DATASRC=$top_srcdir/test/data
+DATAOUT=$top_builddir/test/data
+TESTFILE=1.plist
-$srcdir/plist_test $srcdir/data/1.plist
+if ! test -d "$DATAOUT"; then
+ mkdir -p $DATAOUT
+fi
+$top_builddir/test/plist_test $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out