diff options
author | wenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com> | 2008-04-03 01:37:14 -0400 |
---|---|---|
committer | wenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com> | 2008-04-03 01:37:14 -0400 |
commit | 285477856b016f3d16c339b7d7f00422cbe1795f (patch) | |
tree | ac020d44545446002bd4debadcfe6dc3a17a4af1 /testsuite/systemtap.base | |
parent | eace89a86a89977dccb4e943192becc5be47cef1 (diff) | |
download | systemtap-steved-285477856b016f3d16c339b7d7f00422cbe1795f.tar.gz systemtap-steved-285477856b016f3d16c339b7d7f00422cbe1795f.tar.xz systemtap-steved-285477856b016f3d16c339b7d7f00422cbe1795f.zip |
emphasize the regexp math
Diffstat (limited to 'testsuite/systemtap.base')
-rw-r--r-- | testsuite/systemtap.base/stmtvars.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.base/stmtvars.exp b/testsuite/systemtap.base/stmtvars.exp index 6e950ea0..ee0dcf20 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\n} { set pc $expect_out(1,string); exp_continue } + -re {probe sys_open.*pc=(0x.*)\r\nsemantic} { 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\n} { set pc2 $expect_out(1,string); exp_continue } + -re {probe sys_open.*pc=(0x.*)\r\nsemantic} { 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)" } |