public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jon Turney <jturney@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin/main] Cygwin: testsuite: Tweak lseek03 after addition of SEEK_HOLE
Date: Fri, 11 Aug 2023 13:38:42 +0000 (GMT)	[thread overview]
Message-ID: <20230811133842.CA59D3857725@sourceware.org> (raw)

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)

                 reply	other threads:[~2023-08-11 13:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230811133842.CA59D3857725@sourceware.org \
    --to=jturney@sourceware.org \
    --cc=cygwin-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).