From 88d4b3461e3eeb69e1d09e89f38050abd6b81402 Mon Sep 17 00:00:00 2001 From: Kim Hansen Date: Thu, 25 Mar 2010 17:43:10 +0000 Subject: timeout: use more standard option parsing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- tests/misc/timeout-parameters | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3-70-g09d2