diff options
Diffstat (limited to 'test/ostep-strings.test')
| -rwxr-xr-x | test/ostep-strings.test | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/ostep-strings.test b/test/ostep-strings.test new file mode 100755 index 0000000..5b0a098 --- /dev/null +++ b/test/ostep-strings.test | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | ## -*- sh -*- | ||
| 2 | |||
| 3 | set -e | ||
| 4 | |||
| 5 | DATASRC=$top_srcdir/test/data | ||
| 6 | DATAOUT=$top_builddir/test/data | ||
| 7 | TESTFILE=test.strings | ||
| 8 | |||
| 9 | if ! test -d "$DATAOUT"; then | ||
| 10 | mkdir -p $DATAOUT | ||
| 11 | fi | ||
| 12 | |||
| 13 | export PLIST_OSTEP_DEBUG=1 | ||
| 14 | |||
| 15 | echo "Converting" | ||
| 16 | $top_builddir/test/plist_otest $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out | ||
| 17 | |||
| 18 | echo "Comparing" | ||
| 19 | export PLIST_OSTEP_DEBUG=1 | ||
| 20 | $top_builddir/test/plist_cmp $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out | ||
