Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
dd_rescue
dd_rhelp.test.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dd_rhelp.test.diff of Package dd_rescue
--- dd_rhelp-0.1.2/dd_rhelp.test.orig 2009-04-21 23:49:27.000000000 +0200 +++ dd_rhelp-0.1.2/dd_rhelp.test 2011-10-05 11:18:41.000000000 +0200 @@ -1188,9 +1188,9 @@ function test_gnu_standards() { 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)\" ] } @@ -1305,6 +1305,7 @@ esac #!- +include parse include pretty include common include shunit @@ -1318,7 +1319,7 @@ tmp=/tmp export PATH=".:$PATH" -gnu_standards +test_gnu_standards # # Checking bad arguments
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor