summaryrefslogtreecommitdiffstats
path: root/test/smallcmp.test
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-12-13 00:44:17 +0100
committerGravatar Nikias Bassen2013-12-13 00:44:17 +0100
commita798afc8b5b00a43f4b121168e0419df2d398338 (patch)
treec178d7a149028944254511d03f91266ca43cfcbd /test/smallcmp.test
parent3b7647499474619b3e24bf01105b6b037887a0ed (diff)
downloadlibplist-a798afc8b5b00a43f4b121168e0419df2d398338.tar.gz
libplist-a798afc8b5b00a43f4b121168e0419df2d398338.tar.bz2
change build system to autotools
Diffstat (limited to 'test/smallcmp.test')
-rwxr-xr-xtest/smallcmp.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/smallcmp.test b/test/smallcmp.test
new file mode 100755
index 0000000..fb10787
--- /dev/null
+++ b/test/smallcmp.test
@@ -0,0 +1,12 @@
+## -*- 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
+