coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-8.12.178-df9cd on OpenBSD 4.9


From: Jim Meyering
Subject: Re: coreutils-8.12.178-df9cd on OpenBSD 4.9
Date: Thu, 01 Sep 2011 16:33:13 +0200

Jim Meyering wrote:

> Bruno Haible wrote:
>
>>> On OpenBSD 4.9:
>>> 6 of 363 tests failed
>>
>> FAIL: misc/sort-compress
>> FAIL: misc/stdbuf
>> FAIL: tail-2/wait
>> FAIL: ls/infloop
>> FAIL: tail-2/follow-name
>> FAIL: tail-2/follow-stdin
>>
>> Find attached the tests/test-suite.log.
>
> Thanks again.
> In this case, at least two test failures may be due to
> a problem with timeout:
>
>     FAIL: tail-2/wait (exit: 1)
>     ===========================
>     timeout: warning: timer_create: Function not implemented
>     tail: cannot open `not_here' for reading: No such file or directory
>     tail: no files remaining
>
>
> This one doesn't mention "timeout" explicitly,
> but the test does use it.  Since that systems lacks
> a version of diff, we get far-less-useful cmp output
> in case of a failure like this:
>
>     FAIL: ls/infloop (exit: 1)
>     ==========================
>     err exp-err differ: char 1, line 1
>
> Bruno, if you ever run these tests again, would you consider
> installing diff first, and maybe run the tests with a better
> shell in your path?
>
> Currently, it looks like I have easy access only to OpenBSD 4.7.
> I'll see if I can reproduce any of these there.

Confirmed.  Most of the failures are timeout-related.
When I make the following change, on OpenBSD 4.7,
(probably the one Pádraig is about to make?)
the only remaining failures are these two:

    FAIL: misc/sort-compress
    FAIL: misc/sort-continue

diff --git a/src/timeout.c b/src/timeout.c
index ae89942..f01c96e 100644
--- a/src/timeout.c
+++ b/src/timeout.c
@@ -127,7 +127,10 @@ settimeout (double duration)
         }
     }
   else
-    error (0, errno, _("warning: timer_create"));
+    {
+      if (errno != ENOSYS)
+        error (0, errno, _("warning: timer_create"));
+    }
 #endif

   unsigned int timeint;

And since the sort-continue problem doesn't arise on 4.9,
I won't bother with it for now.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]