From 396a86ddf9550e4f2e850173dacd42346a521079 Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 30 Nov 2006 16:31:23 +0000 Subject: 2006-11-30 Martin Hunt * systemtap.samples/pfaults.exp: Fix regular expression to handle buffering issues that broke on MP systems. --- testsuite/ChangeLog | 5 +++++ 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 + + * systemtap.samples/pfaults.exp: Fix regular expression + to handle buffering issues that broke on MP systems. + 2006-11-29 Li Guanglei From Gui Jian 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 { } } -- cgit