diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-12-03 13:38:04 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-12-03 13:38:04 -0500 |
commit | 33d34a13b7632fada659a7ea2541c390dd31b541 (patch) | |
tree | 1949862da3b067056d7b8b978674bad4b2c703c9 /testsuite/systemtap.base/global_stat.exp | |
parent | b5e66adadbad65fddc40a2143e3692e41cf6d1af (diff) | |
parent | 271d408e09e033857658c83cb722078fab02edda (diff) | |
download | systemtap-steved-33d34a13b7632fada659a7ea2541c390dd31b541.tar.gz systemtap-steved-33d34a13b7632fada659a7ea2541c390dd31b541.tar.xz systemtap-steved-33d34a13b7632fada659a7ea2541c390dd31b541.zip |
merged
* 'master' of ssh://sources.redhat.com/git/systemtap:
PR7053: Add checking empty aggregate and default print where @count==0.
Add man page entry for stap -B
Diffstat (limited to 'testsuite/systemtap.base/global_stat.exp')
-rw-r--r-- | testsuite/systemtap.base/global_stat.exp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/global_stat.exp b/testsuite/systemtap.base/global_stat.exp new file mode 100644 index 00000000..704556f6 --- /dev/null +++ b/testsuite/systemtap.base/global_stat.exp @@ -0,0 +1,13 @@ +if {![installtest_p]} { + untested global_stat + return +} + +spawn stap -e {global var; probe never {var<<<1} probe begin {exit()}} +expect { + -timeout 60 + "var @count=0x0" { pass "global_stat" } + timeout {fail "global_stat: unexpected timeout"} + eof {fail "global_stat: unexpected EOF"} +} +wait;close |