Skip to content

Commit

Permalink
Cygwin: testsuite: Tweak lseek03 after addition of SEEK_HOLE
Browse files Browse the repository at this point in the history
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")
  • Loading branch information
jon-turney committed Aug 11, 2023
1 parent 7374b46 commit 1a646ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion winsup/testsuite/winsup.api/ltp/lseek03.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1a646ad

Please sign in to comment.