diff options
-rw-r--r-- | testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | testsuite/systemtap.samples/pfaults.exp | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index 22f4f889..131bd06c 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-11-30 Martin Hunt <hunt@redhat.com> + + * systemtap.samples/pfaults.exp: Fix regular expression + to handle buffering issues that broke on MP systems. + 2006-11-29 Li Guanglei <guanglei@cn.ibm.com> From Gui Jian <guijian@cn.ibm.com> diff --git a/testsuite/systemtap.samples/pfaults.exp b/testsuite/systemtap.samples/pfaults.exp index b230cc6a..30599df5 100644 --- a/testsuite/systemtap.samples/pfaults.exp +++ b/testsuite/systemtap.samples/pfaults.exp @@ -6,9 +6,9 @@ set pid $spawn_id set ok 0 expect { -timeout 30 - -re "Page fault tracking, start time" { incr ok; exp_continue } + -re {Page fault tracking, start time[^\r\n]+\r\n} { incr ok; exp_continue } -timeout 30 - -re "Page fault tracking, end time" { incr ok; exp_continue } + -re {Page fault tracking, end time[^\r\n]+\r\n} { incr ok; exp_continue } timeout { fail "$test (timeout)" } eof { } } |