plist_ffi 0.1.1

C FFI for the amazing plist crate, compatible with libplist
## -*- sh -*-

DATASRC=$top_srcdir/test/data
DATAOUT=$top_builddir/test/data
TESTFILE=1.plist

if ! test -d "$DATAOUT"; then
	mkdir -p $DATAOUT
fi

echo "Converting"
$top_builddir/test/plist_test $DATASRC/$TESTFILE $DATAOUT/empty.test.out

echo "Comparing"
$top_builddir/test/plist_cmp $DATASRC/$TESTFILE $DATAOUT/empty.test.out

# the original test assumed that empty was valid
# but this is not valid. I'm editing this test.
if [ $? -eq 0 ]; then
  exit 1
else
  exit 0
fi