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