summaryrefslogtreecommitdiffstats
path: root/test/mediumcmp.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/mediumcmp.test')
-rwxr-xr-xtest/mediumcmp.test13
1 files changed, 4 insertions, 9 deletions
diff --git a/test/mediumcmp.test b/test/mediumcmp.test
index 33802ef..9eff0da 100755
--- a/test/mediumcmp.test
+++ b/test/mediumcmp.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/3.plist $srcdir/data/3.plist.out
+DATASRC=$top_srcdir/test/data
+DATAOUT=$top_builddir/test/data
+TESTFILE=3.plist
+$top_builddir/test/plist_cmp $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out