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/offsetsize.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/offsetsize.test')
-rwxr-xr-x | test/offsetsize.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/offsetsize.test b/test/offsetsize.test new file mode 100755 index 0000000..d548d88 --- /dev/null +++ b/test/offsetsize.test @@ -0,0 +1,12 @@ +## -*- sh -*- + +set -e + +DATASRC=$top_srcdir/test/data +TESTFILES="off1byte.bplist off2bytes.bplist off3bytes.bplist off4bytes.bplist off5bytes.bplist off6bytes.bplist off7bytes.bplist off8bytes.bplist" +CMPFILE=offxml.plist + +for I in $TESTFILES; do + echo "* checking $I" + $top_builddir/test/plist_cmp $DATASRC/$I $DATASRC/$CMPFILE +done |