From f38003890b1c8fa7000eb9fa3fd4e3f6ff1eba5c Mon Sep 17 00:00:00 2001 From: Pádraig Brady
Date: Thu, 26 Jun 2008 23:09:28 +0100 Subject: 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(-) (limited to 'tests') 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 -- cgit v1.2.3-70-g09d2