diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2023-08-10 20:50:00 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2023-08-11 14:38:25 +0100 |
commit | 1a646ad7970a2cd3a1c931af4217cc17fc576116 (patch) | |
tree | 36322ea8d70e64ef04fe4b38823d32d7dec3cf6e /winsup/testsuite | |
parent | 7374b46bfd5ca551febf7883f6fce22f27a18aa8 (diff) | |
download | newlib-1a646ad7970a2cd3a1c931af4217cc17fc576116.zip newlib-1a646ad7970a2cd3a1c931af4217cc17fc576116.tar.gz newlib-1a646ad7970a2cd3a1c931af4217cc17fc576116.tar.bz2 |
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")
Diffstat (limited to 'winsup/testsuite')
-rw-r--r-- | winsup/testsuite/winsup.api/ltp/lseek03.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/testsuite/winsup.api/ltp/lseek03.c b/winsup/testsuite/winsup.api/ltp/lseek03.c index 51c303d..06bbcc3 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) |