From: Pádraig Brady
Date: Thu, 26 Jun 2008 22:09:28 +0000 (+0100) Subject: timeout: fix invalid argument tests X-Git-Tag: v7.0~142 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f38003890b1c8fa7000eb9fa3fd4e3f6ff1eba5c;p=platform%2Fupstream%2Fcoreutils.git 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. --- 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