diff options
| -rwxr-xr-x | test/json-invalid-types.test | 6 | ||||
| -rwxr-xr-x | test/ostep-invalid-types.test | 6 |
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 | ||
| 15 | echo "Converting (failure expected)" | 15 | echo "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 |
| 17 | if [ $? -neq 2 ]; then | 17 | if [ $? -ne 2 ]; then |
| 18 | exit 1 | 18 | exit 1 |
| 19 | fi | 19 | fi |
| 20 | 20 | ||
| 21 | echo "Converting (failure expected)" | 21 | echo "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 |
| 23 | if [ $? -neq 2 ]; then | 23 | if [ $? -ne 2 ]; then |
| 24 | exit 2 | 24 | exit 2 |
| 25 | fi | 25 | fi |
| 26 | 26 | ||
| 27 | echo "Converting (failure expected)" | 27 | echo "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 |
| 29 | if [ $? -neq 2 ]; then | 29 | if [ $? -ne 2 ]; then |
| 30 | exit 3 | 30 | exit 3 |
| 31 | fi | 31 | fi |
| 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 | ||
| 15 | echo "Converting (failure expected)" | 15 | echo "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 |
| 17 | if [ $? -neq 2 ]; then | 17 | if [ $? -ne 2 ]; then |
| 18 | exit 1 | 18 | exit 1 |
| 19 | fi | 19 | fi |
| 20 | 20 | ||
| 21 | echo "Converting (failure expected)" | 21 | echo "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 |
| 23 | if [ $? -neq 2 ]; then | 23 | if [ $? -ne 2 ]; then |
| 24 | exit 2 | 24 | exit 2 |
| 25 | fi | 25 | fi |
| 26 | 26 | ||
| 27 | echo "Converting (failure expected)" | 27 | echo "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 |
| 29 | if [ $? -neq 2 ]; then | 29 | if [ $? -ne 2 ]; then |
| 30 | exit 3 | 30 | exit 3 |
| 31 | fi | 31 | fi |
| 32 | 32 | ||
