summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com>2008-04-03 01:46:06 -0400
committerwenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com>2008-04-03 01:46:06 -0400
commit8aa6c571b70f61727b92b4442a645a260b53b52a (patch)
treeee6acfebadb9330ee35fd8ed9073eea5e3470818
parent285477856b016f3d16c339b7d7f00422cbe1795f (diff)
downloadsystemtap-steved-8aa6c571b70f61727b92b4442a645a260b53b52a.tar.gz
systemtap-steved-8aa6c571b70f61727b92b4442a645a260b53b52a.tar.xz
systemtap-steved-8aa6c571b70f61727b92b4442a645a260b53b52a.zip
Revert "emphasize the regexp math"
This reverts commit 285477856b016f3d16c339b7d7f00422cbe1795f.
-rw-r--r--testsuite/systemtap.base/stmtvars.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.base/stmtvars.exp b/testsuite/systemtap.base/stmtvars.exp
index ee0dcf20..6e950ea0 100644
--- a/testsuite/systemtap.base/stmtvars.exp
+++ b/testsuite/systemtap.base/stmtvars.exp
@@ -5,7 +5,7 @@ set pc 0
set vars ""
spawn stap -e "probe kernel.function(\"sys_open\") {\$foo}" -p4 -vv -u
expect {
- -re {probe sys_open.*pc=(0x.*)\r\nsemantic} { set pc $expect_out(1,string); exp_continue }
+ -re {probe sys_open.*pc=(0x.*)\r\n} { set pc $expect_out(1,string); exp_continue }
-re {alternatives: ([^\r\n]*) identifier [^\r\n]*\r\n} { set vars $expect_out(1,string)
exp_continue }
timeout { fail "$test (timeout)" }
@@ -19,7 +19,7 @@ set pc2 0
set vars2 ""
spawn stap -e "probe kernel.statement($pc) {\$foo}" -p4 -vv -u
expect {
- -re {probe sys_open.*pc=(0x.*)\r\nsemantic} { set pc2 $expect_out(1,string); exp_continue }
+ -re {probe sys_open.*pc=(0x.*)\r\n} { set pc2 $expect_out(1,string); exp_continue }
-re {alternatives: ([^\r\n]*) identifier [^\r\n]*\r\n} { set vars2 $expect_out(1,string)
exp_continue }
timeout { fail "$test (timeout)" }