testsuite/systemtap.printf/string1.exp
raw| 1 | set test "string1" |
| 2 | set ::result_string {The string is <Foobar!> |
| 3 | Foobar!XYZZY |
| 4 | XYZZYFoobar!XYZZYFoobar!} |
| 5 | |
| 6 | foreach runtime [get_runtime_list] { |
| 7 | if {$runtime != ""} { |
| 8 | stap_run2 $srcdir/$subdir/$test.stp --runtime=$runtime |
| 9 | stap_run2 $srcdir/$subdir/$test.stp --runtime=$runtime -DSTP_LEGACY_PRINT |
| 10 | } else { |
| 11 | stap_run2 $srcdir/$subdir/$test.stp |
| 12 | stap_run2 $srcdir/$subdir/$test.stp -DSTP_LEGACY_PRINT |
| 13 | } |
| 14 | } |