]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
timeout: fix invalid argument tests
authorPádraig Brady <P@draigBrady.com>
Thu, 26 Jun 2008 22:09:28 +0000 (23:09 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 27 Jun 2008 15:46:52 +0000 (17:46 +0200)
* tests/misc/timeout-parameters: Remove test for invalid
signal number (we don't know what signal numbers are
invalid on all systems). Also tweak the other invalid
signal check so that the rest of the arguments are correct.

tests/misc/timeout-parameters

index 091fbd7d07e6c3fc29ac04119df72022fcd00b86..e44ff980881a800d049110e56a08accc36045625 100755 (executable)
@@ -41,10 +41,7 @@ timeout 4294967296 sleep 0 && fail=1
 timeout 49711d sleep 0 && fail=1
 
 # invalid signal spec
-timeout --signal=invalid sleep 0 && fail=1
-
-# invalid signal number
-timeout --signal=128 sleep 0 && fail=1
+timeout --signal=invalid 1 sleep 0 && fail=1
 
 # invalid command
 timeout 1 . && fail=1