From f38003890b1c8fa7000eb9fa3fd4e3f6ff1eba5c Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Thu, 26 Jun 2008 23:09:28 +0100 Subject: [PATCH] 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. --- tests/misc/timeout-parameters | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/misc/timeout-parameters b/tests/misc/timeout-parameters index 091fbd7..e44ff98 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 -- 2.7.4