summaryrefslogtreecommitdiff
path: root/tests/misc/timeout-parameters
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2008-06-26 23:09:28 +0100
committerJim Meyering <meyering@redhat.com>2008-06-27 17:46:52 +0200
commitf38003890b1c8fa7000eb9fa3fd4e3f6ff1eba5c (patch)
tree990b05bd3913631d90cd1934d02dcf67fc0577e8 /tests/misc/timeout-parameters
parent5b610a06b297b162f3c63e139e33eb0ca9113f70 (diff)
downloadcoreutils-f38003890b1c8fa7000eb9fa3fd4e3f6ff1eba5c.tar.xz
timeout: fix invalid argument tests
* 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.
Diffstat (limited to 'tests/misc/timeout-parameters')
-rwxr-xr-xtests/misc/timeout-parameters5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/misc/timeout-parameters b/tests/misc/timeout-parameters
index 091fbd7d0..e44ff9808 100755
--- a/tests/misc/timeout-parameters
+++ b/tests/misc/timeout-parameters
@@ -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