doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/global_vars.exp
raw| 1 | # Check that global variables terminated with a ; work fine |
| 2 | |
| 3 | set test "global_vars" |
| 4 | |
| 5 | foreach runtime [get_runtime_list] { |
| 6 | if {$runtime != ""} { |
| 7 | stap_run $test no_load $all_pass_string \ |
| 8 | --runtime=$runtime $srcdir/$subdir/$test.stp |
| 9 | } else { |
| 10 | stap_run $test no_load $all_pass_string $srcdir/$subdir/$test.stp |
| 11 | } |
| 12 | } |