diff options
Diffstat (limited to 'testsuite/systemtap.samples/tcptest.exp')
-rw-r--r-- | testsuite/systemtap.samples/tcptest.exp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/systemtap.samples/tcptest.exp b/testsuite/systemtap.samples/tcptest.exp index 0c40f93d..0ae088ef 100644 --- a/testsuite/systemtap.samples/tcptest.exp +++ b/testsuite/systemtap.samples/tcptest.exp @@ -7,5 +7,7 @@ proc tcp_gen { } { exec $::tcp_tcl 1 return 0 } -set output_string "\\mTCP totalbytes: \\d+\\M" +set output_header "UID\tPID\tSIZE\tNAME\t\t\tPORT\tSOURCE\t\tRTO\tRCVMSS\tSSTHRES\tCWND\tSTATE\r\n" +set output_rows "((\\d+\t\\d+\t\\d+\t\\S+\t\t\t\\d+\t\\S*\t\\d+\t\\d+\t\\d+\t\\d+\t\\d+)?\r\n){5}" +set output_string "TCP totalbytes: \\d+\r\n$output_header$output_rows" stap_run $srcdir/$subdir/$test.stp tcp_gen $output_string |