GNU bug report logs - #16941
[PATCH] tests/mb-non-UTF8-performance: increase timeout

Previous Next

Package: grep;

Reported by: Andreas Schwab <schwab <at> suse.de>

Date: Wed, 5 Mar 2014 16:10:02 UTC

Severity: normal

Tags: patch

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jim Meyering <jim <at> meyering.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#16941: closed ([PATCH] tests/mb-non-UTF8-performance:
 increase timeout)
Date: Mon, 10 Mar 2014 17:35:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 10 Mar 2014 10:34:11 -0700
with message-id <CA+8g5KH7KfD8UXGN9j9qtOkPPF6OcgrWujNzR7+0Nw9kSpsP9Q <at> mail.gmail.com>
and subject line Re: bug#16941: [PATCH] tests/mb-non-UTF8-performance: increase timeout
has caused the debbugs.gnu.org bug report #16941,
regarding [PATCH] tests/mb-non-UTF8-performance: increase timeout
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
16941: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16941
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andreas Schwab <schwab <at> suse.de>
To: bug-grep <at> gnu.org
Subject: [PATCH] tests/mb-non-UTF8-performance: increase timeout
Date: Wed, 05 Mar 2014 17:09:06 +0100
---
 tests/mb-non-UTF8-performance | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/mb-non-UTF8-performance b/tests/mb-non-UTF8-performance
index 282f0c4..9b581a3 100755
--- a/tests/mb-non-UTF8-performance
+++ b/tests/mb-non-UTF8-performance
@@ -26,7 +26,7 @@ require_JP_EUC_locale_
 yes $(printf '%078d' 0) | head -50000 > in || framework_failure_
 
 # Expect no match, i.e., exit status of 1.  Anything else is an error.
-timeout 4 grep -i foobar in; st=$?
+timeout 50 grep -i foobar in; st=$?
 test $st = 1 || fail=1
 
 Exit $fail
-- 
1.9.0

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


[Message part 3 (message/rfc822, inline)]
From: Jim Meyering <jim <at> meyering.net>
To: Andreas Schwab <schwab <at> suse.de>
Cc: 16941-done <at> debbugs.gnu.org
Subject: Re: bug#16941: [PATCH] tests/mb-non-UTF8-performance: increase timeout
Date: Mon, 10 Mar 2014 10:34:11 -0700
On Sun, Mar 9, 2014 at 10:12 PM, Jim Meyering <jim <at> meyering.net> wrote:
> Thanks again for the patch, but if I were to use it, the timeout
> would be so long that the test would mistakenly pass
> (the timeout would not trigger) even if the bug were reintroduced.
> Instead, I've rewritten the test to make it less sensitive to the
> actual hardware used to run it.  Please let me know if this works
> for you:

I've pushed that change.


This bug report was last modified 11 years and 60 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.