summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libc/stdio/Makefile5
-rw-r--r--src/regress/lib/libc/stdio/test___freadahead.c4
2 files changed, 3 insertions, 6 deletions
diff --git a/src/regress/lib/libc/stdio/Makefile b/src/regress/lib/libc/stdio/Makefile
index fa5ebabee1..f1e980f688 100644
--- a/src/regress/lib/libc/stdio/Makefile
+++ b/src/regress/lib/libc/stdio/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.3 2025/05/25 05:32:45 yasuoka Exp $ 1# $OpenBSD: Makefile,v 1.4 2025/06/03 14:35:27 yasuoka Exp $
2 2
3PROGS= test_fflush 3PROGS= test_fflush
4CLEANFILES= test_fflush.tmp 4CLEANFILES= test_fflush.tmp
@@ -26,7 +26,4 @@ CLEANFILES+= test___fseterr.tmp
26 26
27WARNINGS= yes 27WARNINGS= yes
28 28
29# until fflush comply POSIX-2008
30REGRESS_EXPECTED_FAILURES= run-regress-test_fflush
31
32.include <bsd.regress.mk> 29.include <bsd.regress.mk>
diff --git a/src/regress/lib/libc/stdio/test___freadahead.c b/src/regress/lib/libc/stdio/test___freadahead.c
index c853e23975..66d5e3492a 100644
--- a/src/regress/lib/libc/stdio/test___freadahead.c
+++ b/src/regress/lib/libc/stdio/test___freadahead.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: test___freadahead.c,v 1.1 2025/05/25 00:20:54 yasuoka Exp $ */ 1/* $OpenBSD: test___freadahead.c,v 1.2 2025/06/03 14:35:27 yasuoka Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2025 YASUOKA Masahiko <yasuoka@yasuoka.net> 4 * Copyright (c) 2025 YASUOKA Masahiko <yasuoka@yasuoka.net>
@@ -49,7 +49,7 @@ test___freadahead0(void)
49 s = __freadahead(fp); 49 s = __freadahead(fp);
50 assert(s == 10); 50 assert(s == 10);
51 r = fflush(fp); 51 r = fflush(fp);
52#if 1 52#if 0
53 /* fflush() to reading file is not supported (yet) */ 53 /* fflush() to reading file is not supported (yet) */
54 assert(errno == EBADF); 54 assert(errno == EBADF);
55#else 55#else