summaryrefslogtreecommitdiffstats
path: root/testsuite/lib/stap_run.exp
diff options
context:
space:
mode:
authordsmith <dsmith>2007-09-18 21:09:52 +0000
committerdsmith <dsmith>2007-09-18 21:09:52 +0000
commit996f251ce85bd9cfe3c6255176457ba9e35b8a2e (patch)
treefa0699d6f2915639cf181443331f2597f4138eef /testsuite/lib/stap_run.exp
parentcb43bd6a6a9283306523283b4c933238f0186129 (diff)
downloadsystemtap-steved-996f251ce85bd9cfe3c6255176457ba9e35b8a2e.tar.gz
systemtap-steved-996f251ce85bd9cfe3c6255176457ba9e35b8a2e.tar.xz
systemtap-steved-996f251ce85bd9cfe3c6255176457ba9e35b8a2e.zip
2007-09-18 David Smith <dsmith@redhat.com>
* systemtap.base/procfs.exp: New test case. * lib/stap_run.exp (stap_run): Handles the case where the stap '-m' option was used.
Diffstat (limited to 'testsuite/lib/stap_run.exp')
-rw-r--r--testsuite/lib/stap_run.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/lib/stap_run.exp b/testsuite/lib/stap_run.exp
index 14786218..ff93ed8a 100644
--- a/testsuite/lib/stap_run.exp
+++ b/testsuite/lib/stap_run.exp
@@ -32,6 +32,7 @@ proc stap_run { TEST_NAME {LOAD_GEN_FUNCTION ""} {OUTPUT_CHECK_STRING ""} args }
eval spawn $cmd
expect {
-timeout 180
+ -re {^Warning: using '-m' disables cache support.\r\n} {exp_continue}
-re {^Pass\ ([1234]):[^\r]*\ in\ ([0-9]+)usr/([0-9]+)sys/([0-9]+)real\ ms\.\r\n}
{set pass$expect_out(1,string) "\t$expect_out(2,string)\t$expect_out(3,string)\t$expect_out(4,string)"; exp_continue}
-re {^Pass\ ([34]): using cached [^\r]+\r\n}