diff options
author | Nikias Bassen | 2017-02-01 19:07:02 +0100 |
---|---|---|
committer | Nikias Bassen | 2017-02-01 19:07:02 +0100 |
commit | 5791fb908a5f4e3ae39f8c4644dc7f0291f0e80f (patch) | |
tree | 92eb291d886ff4a4c4c8c4dadc6ded97e5302736 /test/refsize.test | |
parent | e9895752a396c4acb8c2b4ba525c13329d4e9fab (diff) | |
download | libplist-5791fb908a5f4e3ae39f8c4644dc7f0291f0e80f.tar.gz libplist-5791fb908a5f4e3ae39f8c4644dc7f0291f0e80f.tar.bz2 |
test: Add test cases for different bplist offset and reference sizes
Diffstat (limited to 'test/refsize.test')
-rwxr-xr-x | test/refsize.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/refsize.test b/test/refsize.test new file mode 100755 index 0000000..379b7fb --- /dev/null +++ b/test/refsize.test @@ -0,0 +1,12 @@ +## -*- sh -*- + +set -e + +DATASRC=$top_srcdir/test/data +TESTFILES="dictref1byte.bplist dictref2bytes.bplist dictref3bytes.bplist dictref4bytes.bplist dictref5bytes.bplist dictref6bytes.bplist dictref7bytes.bplist dictref8bytes.bplist" +CMPFILE=offxml.plist + +for I in $TESTFILES; do + echo "* checking $I" + $top_builddir/test/plist_cmp $DATASRC/$I $DATASRC/$CMPFILE +done |