doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/error_fn.exp
raw| 1 | # check that errors in nested functions are not lost on return |
| 2 | # bugzilla 6529 |
| 3 | |
| 4 | set test "error_fn" |
| 5 | |
| 6 | foreach runtime [get_runtime_list] { |
| 7 | if {$runtime != ""} { |
| 8 | stap_run $test no_load "ERROR: synthetic error\r\n" \ |
| 9 | --runtime=$runtime $srcdir/$subdir/$test.stp |
| 10 | } else { |
| 11 | stap_run $test no_load "ERROR: synthetic error\r\n" $srcdir/$subdir/$test.stp |
| 12 | } |
| 13 | } |
| 14 |