summaryrefslogtreecommitdiffstats
path: root/test/amp.test
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2017-01-02 02:29:35 +0100
committerGravatar Nikias Bassen2017-01-02 02:29:35 +0100
commit9950acbecda1b1bdf567e2e5efae84103c105a2d (patch)
tree40a46b8c0f657ac8f2261930b3c201514eb7cf32 /test/amp.test
parent9f03f8aabcd036c1a97d9cfb6330409127202102 (diff)
downloadlibplist-9950acbecda1b1bdf567e2e5efae84103c105a2d.tar.gz
libplist-9950acbecda1b1bdf567e2e5efae84103c105a2d.tar.bz2
test: Add some more test cases for various valid and invalid content
Diffstat (limited to 'test/amp.test')
-rwxr-xr-xtest/amp.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/amp.test b/test/amp.test
new file mode 100755
index 0000000..0815391
--- /dev/null
+++ b/test/amp.test
@@ -0,0 +1,14 @@
+## -*- sh -*-
+
+set -e
+
+DATASRC=$top_srcdir/test/data
+TESTFILE=amp.plist
+DATAIN0=$DATASRC/$TESTFILE
+DATAOUT0=$top_builddir/test/data/$TESTFILE.out
+
+rm -rf $DATAOUT0
+$top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0
+if test -f $DATAOUT0; then
+ exit 1
+fi