[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 6.12.70-4f470 with 64-bit gcc and gnu ld on Solaris 9 - timeout-para
From: |
Pádraig Brady |
Subject: |
Re: 6.12.70-4f470 with 64-bit gcc and gnu ld on Solaris 9 - timeout-parameters.log |
Date: |
Thu, 26 Jun 2008 23:17:51 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
Poor Yorick wrote:
> compiling 6.12.70-4f470 with 64-bit gcc (with -m64) and 64-bit gnu ld on
> Solaris 9:
So on this system `timeout 4294967296 sleep 0` is invalid
but `timeout 49711d sleep 0` is OK?
The apply_time_suffix() function should be returning an
error for the latter case but is not.
I can't see the problem by inspection, so
I need help from someone with a 64 bit system.
I also noticed a couple of other problems in those parameter tests,
fixes for which are attached.
cheers,
Pádraig.
>From 1d974563bccae68c9b15c4b9df30b4d65bb2fb11 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?P=C3=A1draig=20Brady?= <address@hidden>
Date: Thu, 26 Jun 2008 23:09:28 +0100
Subject: [PATCH] timeout: fixup invalid parameter tests
tests/misc/timeout-parameters: remove test for invalid
signal number and I don't know what signal number are
invalid on all systems. Also tweak the other invalid
signal check so that the rest of the parameters are correct.
---
tests/misc/timeout-parameters | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
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
--
1.5.3.6