summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/json-invalid-types.test6
-rwxr-xr-xtest/ostep-invalid-types.test6
2 files changed, 6 insertions, 6 deletions
diff --git a/test/json-invalid-types.test b/test/json-invalid-types.test
index c532316..a21fcd9 100755
--- a/test/json-invalid-types.test
+++ b/test/json-invalid-types.test
@@ -14,19 +14,19 @@ export PLIST_JSON_DEBUG=1
14 14
15echo "Converting (failure expected)" 15echo "Converting (failure expected)"
16$top_builddir/tools/plistutil -f json -i $DATASRC/$TESTFILE0 -o /dev/null 16$top_builddir/tools/plistutil -f json -i $DATASRC/$TESTFILE0 -o /dev/null
17if [ $? -neq 2 ]; then 17if [ $? -ne 2 ]; then
18 exit 1 18 exit 1
19fi 19fi
20 20
21echo "Converting (failure expected)" 21echo "Converting (failure expected)"
22$top_builddir/tools/plistutil -f json -i $DATASRC/$TESTFILE1 -o /dev/null 22$top_builddir/tools/plistutil -f json -i $DATASRC/$TESTFILE1 -o /dev/null
23if [ $? -neq 2 ]; then 23if [ $? -ne 2 ]; then
24 exit 2 24 exit 2
25fi 25fi
26 26
27echo "Converting (failure expected)" 27echo "Converting (failure expected)"
28$top_builddir/tools/plistutil -f json -i $DATASRC/$TESTFILE2 -o /dev/null 28$top_builddir/tools/plistutil -f json -i $DATASRC/$TESTFILE2 -o /dev/null
29if [ $? -neq 2 ]; then 29if [ $? -ne 2 ]; then
30 exit 3 30 exit 3
31fi 31fi
32 32
diff --git a/test/ostep-invalid-types.test b/test/ostep-invalid-types.test
index 9222394..240505c 100755
--- a/test/ostep-invalid-types.test
+++ b/test/ostep-invalid-types.test
@@ -14,19 +14,19 @@ export PLIST_OSTEP_DEBUG=1
14 14
15echo "Converting (failure expected)" 15echo "Converting (failure expected)"
16$top_builddir/tools/plistutil -f openstep -i $DATASRC/$TESTFILE0 -o /dev/null 16$top_builddir/tools/plistutil -f openstep -i $DATASRC/$TESTFILE0 -o /dev/null
17if [ $? -neq 2 ]; then 17if [ $? -ne 2 ]; then
18 exit 1 18 exit 1
19fi 19fi
20 20
21echo "Converting (failure expected)" 21echo "Converting (failure expected)"
22$top_builddir/tools/plistutil -f openstepn -i $DATASRC/$TESTFILE1 -o /dev/null 22$top_builddir/tools/plistutil -f openstepn -i $DATASRC/$TESTFILE1 -o /dev/null
23if [ $? -neq 2 ]; then 23if [ $? -ne 2 ]; then
24 exit 2 24 exit 2
25fi 25fi
26 26
27echo "Converting (failure expected)" 27echo "Converting (failure expected)"
28$top_builddir/tools/plistutil -f openstep -i $DATASRC/$TESTFILE2 -o /dev/null 28$top_builddir/tools/plistutil -f openstep -i $DATASRC/$TESTFILE2 -o /dev/null
29if [ $? -neq 2 ]; then 29if [ $? -ne 2 ]; then
30 exit 3 30 exit 3
31fi 31fi
32 32