Hi Bruno,

Thanks again for all this testing.
I'm travelling at the moment so will
only be fleetingly responsive.

On 10/08/2011 02:23 PM, Bruno Haible wrote:
> On Linux/HPPA (32-bit kernel) 2 tests fail:
> 
> FAIL: misc/timeout-parameters

>From your analysis, this seems like an overflow within the kernel,
as we check all overflows as far as I can see.

> FAIL: tail-2/follow-name

This should work around the issue.

commit 2b82ee76df6c4c36d854218d3407d9fa9170ef0a
Author: Pádraig Brady <p...@draigbrady.com>
Date:   Sun Oct 9 11:25:34 2011 +0100

    tests: avoid a false failure on systems without inotify

    * tests/tail-2/follow-name: Exclude the inotify warning
    from the comparison.
    Reported by Bruno Haible.

diff --git a/tests/tail-2/follow-name b/tests/tail-2/follow-name
index ef9434a..e34b779 100755
--- a/tests/tail-2/follow-name
+++ b/tests/tail-2/follow-name
@@ -27,6 +27,10 @@ EOF
 timeout 10 tail --follow=name no-such > out 2> err
 test $? = 1 || fail=1

+# Remove an inconsequential inotify warning so
+# we can compare against the above error
+sed '/inotify cannot be used/d' err > k && mv k err
+
 compare err exp || fail=1

 Exit $fail


Reply via email to