public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/main] Cygwin: testsuite: Tweak lseek03 after addition of SEEK_HOLE
@ 2023-08-11 13:38 Jon Turney
0 siblings, 0 replies; only message in thread
From: Jon Turney @ 2023-08-11 13:38 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1a646ad7970a2cd3a1c931af4217cc17fc576116
commit 1a646ad7970a2cd3a1c931af4217cc17fc576116
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date: Thu Aug 10 20:50:00 2023 +0100
Cygwin: testsuite: Tweak lseek03 after addition of SEEK_HOLE
After addition of SEEK_HOLE, the whence of *4* is not an invalid
argument, causing the test to FAIL.
See ltp commit 423e636a4c8f ("lseek03: change to fix with the lseek syscall")
Diff:
---
winsup/testsuite/winsup.api/ltp/lseek03.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winsup/testsuite/winsup.api/ltp/lseek03.c b/winsup/testsuite/winsup.api/ltp/lseek03.c
index 51c303d85..06bbcc32b 100644
--- a/winsup/testsuite/winsup.api/ltp/lseek03.c
+++ b/winsup/testsuite/winsup.api/ltp/lseek03.c
@@ -129,7 +129,7 @@ char fname[255];
int fd;
int Rec_sigsys = 0;
-int Whences[] = { 4, -1, 7 };
+int Whences[] = { 5, -1, 7 };
int
main(int ac, char **av)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-11 13:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-11 13:38 [newlib-cygwin/main] Cygwin: testsuite: Tweak lseek03 after addition of SEEK_HOLE Jon Turney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).