mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-17 21:02:25 +02:00
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.
This commit is contained in:
committed by
Jim Meyering
parent
5b610a06b2
commit
f38003890b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user