summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base
diff options
context:
space:
mode:
authorWenji Huang <wenji.huang@oracle.com>2008-09-05 01:08:42 -0400
committerWenji Huang <wenji.huang@oracle.com>2008-09-05 01:08:42 -0400
commitd4e35ac85af99905bdb1c88f7750d917d7dc3473 (patch)
tree5752653a3ed80283b15a24c8c1aeae6aae7ad133 /testsuite/systemtap.base
parent05ec91b49d163869a7470c8152c01ed03c16f0fb (diff)
downloadsystemtap-steved-d4e35ac85af99905bdb1c88f7750d917d7dc3473.tar.gz
systemtap-steved-d4e35ac85af99905bdb1c88f7750d917d7dc3473.tar.xz
systemtap-steved-d4e35ac85af99905bdb1c88f7750d917d7dc3473.zip
PR6731: Updated listing mode through adding -L option.
Diffstat (limited to 'testsuite/systemtap.base')
-rw-r--r--testsuite/systemtap.base/cmd_parse.exp8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/cmd_parse.exp b/testsuite/systemtap.base/cmd_parse.exp
index e33bfa85..c37d358f 100644
--- a/testsuite/systemtap.base/cmd_parse.exp
+++ b/testsuite/systemtap.base/cmd_parse.exp
@@ -121,3 +121,11 @@ expect {
}
wait
+spawn stap -L syscall.a*
+expect {
+ -timeout 60
+ -re {(syscall\.a[_a-zA-Z0-9]*(\ [_a-zA-Z0-9\$]+:(string|long|unknown|stats))*\r\n)+} { pass "cmd_parse13" }
+ timeout {fail "cmd_parse13: unexpected timeout"}
+ eof {fail "cmd_parse13: unexpected EOF"}
+}
+wait