diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/buildok/printf.stp | 1 | ||||
-rwxr-xr-x | testsuite/parseok/unparser.stp | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/buildok/printf.stp b/testsuite/buildok/printf.stp index 4fd14ad6..2a76a0e9 100755 --- a/testsuite/buildok/printf.stp +++ b/testsuite/buildok/printf.stp @@ -26,4 +26,5 @@ probe begin sprintf("%s before %s", sprint(1), sprint(3)), sprint("C")) + printf("\"quote\\this\"") } diff --git a/testsuite/parseok/unparser.stp b/testsuite/parseok/unparser.stp new file mode 100755 index 00000000..710c4636 --- /dev/null +++ b/testsuite/parseok/unparser.stp @@ -0,0 +1,21 @@ +#! /bin/sh + +set -e + +for dir in ${SRCDIR}/testsuite/parseok \ +${SRCDIR}/testsuite/semok \ +${SRCDIR}/testsuite/semko \ +${SRCDIR}/testsuite/transok \ +${SRCDIR}/testsuite/transko \ +${SRCDIR}/testsuite/buildok \ +${SRCDIR}/testsuite/buildko +do + for file in $dir/*.stp + do + if head -1 $file | grep -q stap + then + echo $file + ./stap -p1 $file | ./stap -p1 - > /dev/null + fi + done +done |