diff options
author | dsmith <dsmith> | 2006-10-23 22:08:42 +0000 |
---|---|---|
committer | dsmith <dsmith> | 2006-10-23 22:08:42 +0000 |
commit | 0884d54a236c30dc2585a6b76e5846e44e54138d (patch) | |
tree | 9f7ccc54264ef953a3a30fcdde97eb6d7d986eb4 | |
parent | 8d4c84b0603650c343fedd514e0cb4a5b5c25058 (diff) | |
download | systemtap-steved-0884d54a236c30dc2585a6b76e5846e44e54138d.tar.gz systemtap-steved-0884d54a236c30dc2585a6b76e5846e44e54138d.tar.xz systemtap-steved-0884d54a236c30dc2585a6b76e5846e44e54138d.zip |
2006-10-23 David Smith <dsmith@redhat.com>
* lib/stap_run.exp: Handles cached module.
* lib/stap_run2.exp: Ditto.
-rw-r--r-- | testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | testsuite/lib/stap_run.exp | 2 | ||||
-rw-r--r-- | testsuite/lib/stap_run2.exp | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index 534d9e09..b252c0eb 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-10-23 David Smith <dsmith@redhat.com> + + * lib/stap_run.exp: Handles cached module. + * lib/stap_run2.exp: Ditto. + 2006-10-23 William Cohen <wcohen@redhat.com> * systemtap.maps/absentstats.exp: Increase timeout for slow machines. diff --git a/testsuite/lib/stap_run.exp b/testsuite/lib/stap_run.exp index 2d378154..801f1265 100644 --- a/testsuite/lib/stap_run.exp +++ b/testsuite/lib/stap_run.exp @@ -24,6 +24,8 @@ proc stap_run { TEST_NAME {LOAD_GEN_FUNCTION ""} {OUTPUT_CHECK_STRING ""} args } expect { -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\n} + {set pass$expect_out(1,string) "\t0\t0\t0"; exp_continue} -re {^Pass 5: starting run.\r\n} {exp_continue} -timeout 30 -re "^systemtap starting probe\r\n" { pass "$TEST_NAME startup" diff --git a/testsuite/lib/stap_run2.exp b/testsuite/lib/stap_run2.exp index ebda0d6d..d65e3874 100644 --- a/testsuite/lib/stap_run2.exp +++ b/testsuite/lib/stap_run2.exp @@ -26,6 +26,8 @@ proc stap_run2 { TEST_NAME args } { expect { -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\n} + {set pass$expect_out(1,string) "\t0\t0\t0"; exp_continue} -re {^Pass 5: starting run.\r\n} {exp_continue} -ex $output { pass "$TEST_NAME passed" |