summaryrefslogtreecommitdiffstats
path: root/test/amp.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/amp.test')
-rwxr-xr-xtest/amp.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/amp.test b/test/amp.test
new file mode 100755
index 0000000..3678f27
--- /dev/null
+++ b/test/amp.test
@@ -0,0 +1,16 @@
+## -*- sh -*-
+
+DATASRC=$top_srcdir/test/data
+TESTFILE=amp.plist
+DATAIN0=$DATASRC/$TESTFILE
+DATAOUT0=$top_builddir/test/data/amp.test.out
+
+rm -rf $DATAOUT0
+$top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0
+
+# test succeeds if plistutil fails
+if [ $? -eq 0 ]; then
+ exit 1
+else
+ exit 0
+fi