LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File dd_rhelp.test.diff of Package dd_rescue (Project home:garloff:OTC)

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
@@ -279,11 +279,11 @@ 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)\" ]
 #}