diff options
Diffstat (limited to 'testsuite/parseok/unparser.stp')
-rwxr-xr-x | testsuite/parseok/unparser.stp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuite/parseok/unparser.stp b/testsuite/parseok/unparser.stp index 710c4636..b5deb146 100755 --- a/testsuite/parseok/unparser.stp +++ b/testsuite/parseok/unparser.stp @@ -14,8 +14,12 @@ do do if head -1 $file | grep -q stap then - echo $file - ./stap -p1 $file | ./stap -p1 - > /dev/null + if head -1 $file | fgrep -q -- g # guru mode + then guru=-g + else guru= + fi + echo $file $guru + ./stap $guru -p1 $file | ./stap $guru -p1 - > /dev/null fi done done |