From 4f29ad20df5481f80e0f0ce0515067a76fd77c1d Mon Sep 17 00:00:00 2001 From: David Smith Date: Wed, 6 Apr 2011 14:05:33 -0500 Subject: [PATCH] Fixed BZ692445 by updating regular expression 'all_pass_string'. * testsuite/lib/stap_run.exp: Make expect happier by removing the '$' at the end of 'all_pass_string'. The '\r\n' should catch the end of lines properly. --- testsuite/lib/stap_run.exp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/testsuite/lib/stap_run.exp b/testsuite/lib/stap_run.exp index bf11b520c..e4448cab7 100644 --- a/testsuite/lib/stap_run.exp +++ b/testsuite/lib/stap_run.exp @@ -118,5 +118,10 @@ proc print_system_info {} { } print_system_info + # tests better all be true -set all_pass_string "(systemtap test success\r\n)+$" +# +# BZ692445 was fixed by removing the '$' at the end of +# all_pass_string. Yet another expect regular expression oddity. The +# '\r\n' is good enough at finding the EOL. +set all_pass_string "(systemtap test success\r\n)+" -- 2.43.5