summaryrefslogtreecommitdiff
path: root/tests/misc
diff options
context:
space:
mode:
authorKim Hansen <kim@i9.dk>2010-03-25 17:43:10 +0000
committerPádraig Brady <P@draigBrady.com>2010-03-26 14:27:54 +0000
commit88d4b3461e3eeb69e1d09e89f38050abd6b81402 (patch)
treec4786c4734ad209c5ef48071faffef6f4b67298d /tests/misc
parent4c38625ef32f0d7941b4dbe521a1e34d12f17608 (diff)
downloadcoreutils-88d4b3461e3eeb69e1d09e89f38050abd6b81402.tar.xz
timeout: use more standard option parsing
* src/timeout.c (main): Don't use parse_long_options() which is a helper for commands that don't have any long options specific to them. * tests/misc/timeout-parameters: Remove a case that now passes due to us accepting multiple instances of the --help and --version options. * THANKS: Add the author. Signed-off-by: Pádraig Brady <P@draigBrady.com>
Diffstat (limited to 'tests/misc')
-rwxr-xr-xtests/misc/timeout-parameters4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/misc/timeout-parameters b/tests/misc/timeout-parameters
index 610813103..42d7b13b2 100755
--- a/tests/misc/timeout-parameters
+++ b/tests/misc/timeout-parameters
@@ -27,10 +27,6 @@ getlimits_
# internal errors are 125, distinct from execution failure
-# --help and --version must be specified alone
-timeout --help --version
-test $? = 125 || fail=1
-
# invalid timeout
timeout invalid sleep 0
test $? = 125 || fail=1