summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-08-28 12:35:04 +0200
committerMark Wielaard <mjw@redhat.com>2009-08-28 12:35:04 +0200
commit94ac5972b9f23c4b576823d5fc3f54613ff12743 (patch)
treebcb891e184e7c49ef8aaab9847069a04e9762934
parenta3b4f52cd67ff11dfc12e8e878744ea1319308ef (diff)
downloadsystemtap-steved-94ac5972b9f23c4b576823d5fc3f54613ff12743.tar.gz
systemtap-steved-94ac5972b9f23c4b576823d5fc3f54613ff12743.tar.xz
systemtap-steved-94ac5972b9f23c4b576823d5fc3f54613ff12743.zip
Tighten stap_compile.exp regexp to not accidentially gobble up extra lines.
-rw-r--r--testsuite/lib/stap_compile.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/lib/stap_compile.exp b/testsuite/lib/stap_compile.exp
index a206b7b1..a5a9dce0 100644
--- a/testsuite/lib/stap_compile.exp
+++ b/testsuite/lib/stap_compile.exp
@@ -10,7 +10,7 @@ proc stap_compile { TEST_NAME compile script args } {
eval spawn $cmd
set compile_errors 0
expect {
- -re {^Pass\ [1234]:[^\r]*\ in\ .*\ ms.\r\n} {exp_continue}
+ -re {^Pass\ [1234]:[^\n\r]+\ in\ [^\n\r]+\ ms.\r\n} {exp_continue}
-re {^Pass\ [34]: using cached [^\r\n]+\r\n} {exp_continue}
-re "^WARNING" {exp_continue}
# pass-4 output