From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2201) id CA59D3857725; Fri, 11 Aug 2023 13:38:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CA59D3857725 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1691761122; bh=uRkVXLaVeuF6fGNJSpgMy2ea8fyD7vvWzUeb9urFuKk=; h=From:To:Subject:Date:From; b=vQxxnhPk86hcaM9C/9wKg2yxgiUdKdaFZ21GEILgVskFG1oCmlfRSg7MH1TUjhoZu oVomrdNb1P5bxBmqwjNAs3O7wMQjOmjmt09Hh6cluOUPeiTog1sl6S3uOjLPcGH1r1 I+u864Aoo/3Bj+NCVa57XBQ2CMU4pW4aCLSI3OKs= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Jon Turney To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin/main] Cygwin: testsuite: Tweak lseek03 after addition of SEEK_HOLE X-Act-Checkin: newlib-cygwin X-Git-Author: Jon Turney X-Git-Refname: refs/heads/main X-Git-Oldrev: 7374b46bfd5ca551febf7883f6fce22f27a18aa8 X-Git-Newrev: 1a646ad7970a2cd3a1c931af4217cc17fc576116 Message-Id: <20230811133842.CA59D3857725@sourceware.org> Date: Fri, 11 Aug 2023 13:38:42 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D1a646ad7970= a2cd3a1c931af4217cc17fc576116 commit 1a646ad7970a2cd3a1c931af4217cc17fc576116 Author: Jon Turney Date: Thu Aug 10 20:50:00 2023 +0100 Cygwin: testsuite: Tweak lseek03 after addition of SEEK_HOLE =20 After addition of SEEK_HOLE, the whence of *4* is not an invalid argument, causing the test to FAIL. =20 See ltp commit 423e636a4c8f ("lseek03: change to fix with the lseek sy= scall") 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/w= insup.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 =3D 0; =20 -int Whences[] =3D { 4, -1, 7 }; +int Whences[] =3D { 5, -1, 7 }; =20 int main(int ac, char **av)