| 1 |
# Test the functionality of the various timer.* probes. |
| 2 |
|
| 3 |
set test "timers" |
| 4 |
|
| 5 |
# A simple load that give the timers a chance to run |
| 6 |
proc sleep_ten_secs {} { |
| 7 |
wait_n_secs 10; |
| 8 |
return 0; |
| 9 |
} |
| 10 |
|
| 11 |
#check to see whether get the marker indicating the probe is loaded and running |
| 12 |
#should check to see whether exited for some reason |
| 13 |
#should be error is something else is printed. |
| 14 |
set output_string "(\\w+ = \\d+\r\n){17}(${all_pass_string}){10}(WARNING.*skipped.*)?" |
| 15 |
|
| 16 |
stap_run $test sleep_ten_secs $output_string $srcdir/$subdir/$test.stp |