Debian Codegraph @

testsuite/systemtap.printf/println.exp

raw
1 set test "println"
2 set ::result_string {hello
3
4 world
5 777
6 hello world
7 hello world
8 foo
9 foobar
10 foobar
11 777
12 foo99
13 99foo
14 123456789
15 hello999
16 999hello}
17
18 foreach runtime [get_runtime_list] {
19 if {$runtime != ""} {
20 stap_run2 $srcdir/$subdir/$test.stp --runtime=$runtime
21 stap_run2 $srcdir/$subdir/$test.stp --runtime=$runtime -DSTP_LEGACY_PRINT
22 } else {
23 stap_run2 $srcdir/$subdir/$test.stp
24 stap_run2 $srcdir/$subdir/$test.stp -DSTP_LEGACY_PRINT
25 }
26 }