File dd_rhelp.test.diff of Package dd_rhelp

Index: dd_rhelp-0.3.0/dd_rhelp.test
===================================================================
--- dd_rhelp-0.3.0.orig/dd_rhelp.test
+++ dd_rhelp-0.3.0/dd_rhelp.test
@@ -280,9 +280,9 @@ function assert_list () {
 #    assert "$tprog --help sends errorlevel 0"	$tprog --help
 #    assert "$tprog --version sends errorlevel 0"	$tprog --version
 #
-#    assert "$tprog --version sends version info"    matches \"$($tprog --version)\" \"$tprog ver\. [0-9]\+\.[0-9]\+\.[0-9]\+\"
+#    assert "$tprog --version sends version info"    matches \"$($tprog --version)\" \"$tprog ver\\. [0-9]\\+\\.[0-9]\\+\\.[0-9]\\+\"
 #
-#    assert "$tprog --help output contains info in first line" matches \"$($tprog --help | "$head" -n 1)\" \"$tprog ver\. [0-9]\+\.[0-9]\+\.[0-9]\+\"
+#    assert "$tprog --help output contains info in first line" matches \"$($tprog --help | "$head" -n 1)\" \"$tprog ver\\. [0-9]\\+\\.[0-9]\\+\\.[0-9]\\+\"
 #
 #    assert "$tprog --help info are the same than $tprog --help" [ \"$($tprog --help | "$head" -n 1)\" == \"$($tprog --version)\" ]
 #}
openSUSE Build Service is sponsored by