From 73b80458a97620d37902c737f26929456f178614 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Mon, 4 Jul 2011 16:41:42 -0400 Subject: [PATCH] PR13419: update rep_ret test case repnz;ret has been accepted since commit 9ee518c4d --- testsuite/systemtap.base/rep_ret.exp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/testsuite/systemtap.base/rep_ret.exp b/testsuite/systemtap.base/rep_ret.exp index 8d0b6e1eb..959050e2d 100644 --- a/testsuite/systemtap.base/rep_ret.exp +++ b/testsuite/systemtap.base/rep_ret.exp @@ -39,15 +39,14 @@ foreach arch $arches { expect { -re {^main\r\n} { incr ok; exp_continue } -re {^rep_ret\r\n} { incr ok; exp_continue } - -re {^repnz_ret\r\n} { incr bad; exp_continue } - -re {^WARNING: [^\r\n]*failed[^\r\n]*repnz_ret[^\r\n]*\r\n} { incr warn; exp_continue } - -re {^WARNING: Number of errors: 0, skipped probes: 1\r\n} { incr warn; exp_continue } + -re {^repnz_ret\r\n} { incr ok; exp_continue } + -re {^WARNING: Number of errors: 0, skipped probes: [^\r\n]*\r\n} { incr warn; exp_continue } timeout { fail "$exe (timeout)" } eof { } } wait - if {$ok == 2 && $bad == 0 && $warn == 2} { + if {$ok == 3 && $bad == 0 && $warn == 0} { pass "$exe" } else { fail "$exe ($ok, $bad, $warn)" -- 2.43.5