Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/stdio tests/stdio: disable flappy test for EI...



details:   https://anonhg.NetBSD.org/src/rev/dc4c2c6b6dc3
branches:  trunk
changeset: 985823:dc4c2c6b6dc3
user:      rillig <rillig%NetBSD.org@localhost>
date:      Thu Sep 09 21:47:47 2021 +0000

description:
tests/stdio: disable flappy test for EINTR with _IOFBF for now

This case is currently not handled correctly by fwrite/fflush, which
makes the test fail sometimes.  The tests for _IONBF and _IOLBF are
pretty stable though.

diffstat:

 tests/lib/libc/stdio/t_intr.sh |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r f0d748215cc8 -r dc4c2c6b6dc3 tests/lib/libc/stdio/t_intr.sh
--- a/tests/lib/libc/stdio/t_intr.sh    Thu Sep 09 21:39:02 2021 +0000
+++ b/tests/lib/libc/stdio/t_intr.sh    Thu Sep 09 21:47:47 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_intr.sh,v 1.4 2021/09/05 22:34:07 rillig Exp $
+# $NetBSD: t_intr.sh,v 1.5 2021/09/09 21:47:47 rillig Exp $
 #
 # Copyright (c) 2021 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -77,5 +77,6 @@
 {
        atf_add_test_case stdio_intr_ionbf
        atf_add_test_case stdio_intr_iolbf
-       atf_add_test_case stdio_intr_iofbf
+       # flappy test; see fflush.c 1.19 to 1.24
+       #atf_add_test_case stdio_intr_iofbf
 }



Home | Main Index | Thread Index | Old Index