summaryrefslogtreecommitdiffstats
path: root/test/uid.test
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2021-12-23 02:08:35 +0100
committerGravatar Nikias Bassen2021-12-23 02:08:35 +0100
commit70002721443dabaa99b56301b537980e137b6249 (patch)
tree0acef227b95a6c820a5611e8f44f0be3a049bf76 /test/uid.test
parent7aaa371944544bbbfade3c8e17846f8f58711869 (diff)
downloadlibplist-70002721443dabaa99b56301b537980e137b6249.tar.gz
libplist-70002721443dabaa99b56301b537980e137b6249.tar.bz2
test: Add PLIST_UID test case
Diffstat (limited to 'test/uid.test')
-rwxr-xr-xtest/uid.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/uid.test b/test/uid.test
new file mode 100755
index 0000000..f131c6d
--- /dev/null
+++ b/test/uid.test
@@ -0,0 +1,15 @@
+## -*- sh -*-
+
+DATASRC=$top_srcdir/test/data
+DATAOUT=$top_builddir/test/data
+TESTFILE=uid.bplist
+
+if ! test -d "$DATAOUT"; then
+ mkdir -p $DATAOUT
+fi
+
+echo "Converting"
+$top_builddir/test/plist_btest $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out
+
+echo "Comparing"
+$top_builddir/test/plist_cmp $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out