diff options
author | Stan Cox <scox@redhat.com> | 2009-03-08 20:17:10 -0400 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2009-03-08 20:17:10 -0400 |
commit | 4be9af07213db548443da4ae7ed365e98ed2b29c (patch) | |
tree | 4282556c682bb4c69cab60272481e55782858c17 /testsuite | |
parent | 9b692b91ee25c33281c32c7ba86f5f0734e46be9 (diff) | |
download | systemtap-steved-4be9af07213db548443da4ae7ed365e98ed2b29c.tar.gz systemtap-steved-4be9af07213db548443da4ae7ed365e98ed2b29c.tar.xz systemtap-steved-4be9af07213db548443da4ae7ed365e98ed2b29c.zip |
Minor changes to labels.exp.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/systemtap.base/labels.exp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/testsuite/systemtap.base/labels.exp b/testsuite/systemtap.base/labels.exp index 54640268..1b538dbb 100644 --- a/testsuite/systemtap.base/labels.exp +++ b/testsuite/systemtap.base/labels.exp @@ -85,16 +85,16 @@ spawn sh $label_shpath expect { -re {0x[0-9a-f]*} } -set ok 0 +set nomatch 0 spawn stap -p2 -l "process\(\"$label_exepath\"\).statement($expect_out(0,string))" expect { -timeout 180 - -re {no match} { incr ok; exp_continue } + -re {semantic error: no match} { incr nomatch; exp_continue } timeout { fail "$test (timeout)" } eof { } } -if {$ok == 0} { pass "$test exe .statement" } { xfail "$test exe .statement" } +if {$nomatch == 0} { pass "$test exe .statement" } { fail "$test exe .statement" } set ok 0 @@ -136,15 +136,15 @@ spawn sh $label_shpath expect { -re {0x[0-9a-f]*} } -set ok 0 +set nomatch 0 spawn stap -p2 -l "process\(\"$label_sopath\"\).statement($expect_out(0,string))" expect { -timeout 180 - -re {no match} { incr ok; exp_continue } + -re {semantic error: no match} { incr nomatch; exp_continue } timeout { fail "$test (timeout)" } eof { } } -if {$ok == 0} { pass "$test so .statement" } { xfail "$test so .statement" } +if {$nomatch == 0} { pass "$test so .statement" } { fail "$test so .statement" } # catch {exec rm -f $label_srcpath $label_stppath $label_exepath} |