]> sourceware.org Git - systemtap.git/commitdiff
Fixed BZ692445 by updating regular expression 'all_pass_string'.
authorDavid Smith <dsmith@redhat.com>
Wed, 6 Apr 2011 19:05:33 +0000 (14:05 -0500)
committerDavid Smith <dsmith@redhat.com>
Wed, 6 Apr 2011 19:05:33 +0000 (14:05 -0500)
* 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

index bf11b520c4445c2fc71a3616dea2c9b293a36180..e4448cab73996d46365fb8fbb391463da1e93b84 100644 (file)
@@ -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)+"
This page took 0.028104 seconds and 5 git commands to generate.