diff options
Diffstat (limited to 'testsuite/systemtap.samples/ioblocktest.exp')
-rw-r--r-- | testsuite/systemtap.samples/ioblocktest.exp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/systemtap.samples/ioblocktest.exp b/testsuite/systemtap.samples/ioblocktest.exp new file mode 100644 index 00000000..43c44f5e --- /dev/null +++ b/testsuite/systemtap.samples/ioblocktest.exp @@ -0,0 +1,12 @@ +# Test the functionality of the various ioblock probes. + +load_lib "stap_run.exp" +set test "ioblocktest" + +proc sleep_ten_secs {} { + after 10000; + return 0; +} + +set output_string "\\mioblock*" +stap_run $srcdir/$subdir/$test.stp sleep_ten_secs $output_string |