diff options
author | Nikias Bassen | 2017-01-02 02:08:02 +0100 |
---|---|---|
committer | Nikias Bassen | 2017-01-02 02:08:02 +0100 |
commit | 9f03f8aabcd036c1a97d9cfb6330409127202102 (patch) | |
tree | cf69ad328cee5bf9f8b381219a1d2be55d7b5824 /test/empty_keys.test | |
parent | 552801556f8537bcdeee2cc93e347a35a0847f7f (diff) | |
download | libplist-9f03f8aabcd036c1a97d9cfb6330409127202102.tar.gz libplist-9f03f8aabcd036c1a97d9cfb6330409127202102.tar.bz2 |
test: Add new test case for dictionaries with empty keys
Diffstat (limited to 'test/empty_keys.test')
-rwxr-xr-x | test/empty_keys.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/empty_keys.test b/test/empty_keys.test new file mode 100755 index 0000000..4291e8c --- /dev/null +++ b/test/empty_keys.test @@ -0,0 +1,12 @@ +## -*- sh -*- + +set -e + +DATASRC=$top_srcdir/test/data +TESTFILE=empty_keys.plist +DATAIN0=$DATASRC/$TESTFILE +DATAOUT0=$top_builddir/test/data/$TESTFILE.bin + +$top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0 + +$top_builddir/test/plist_cmp $DATAIN0 $DATAOUT0 |