about summary refs log tree commit diff
path: root/misc/tst-preadvwritev2.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-02-02 10:46:26 +0100
committerFlorian Weimer <fweimer@redhat.com>2018-02-02 10:46:26 +0100
commitd4b4a00a462348750bb18544eb30853ee6ac5d10 (patch)
treeede7a1a13907496496c48e436a5b5dc85be3ac2e /misc/tst-preadvwritev2.c
parent84c94d2fd90d84ae7e67657ee8e22c2d1b796f63 (diff)
downloadglibc-d4b4a00a462348750bb18544eb30853ee6ac5d10.tar.gz
glibc-d4b4a00a462348750bb18544eb30853ee6ac5d10.tar.xz
glibc-d4b4a00a462348750bb18544eb30853ee6ac5d10.zip
preadv2/pwritev2: Handle offset == -1 [BZ #22753]
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'misc/tst-preadvwritev2.c')
-rw-r--r--misc/tst-preadvwritev2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/tst-preadvwritev2.c b/misc/tst-preadvwritev2.c
index d8a9daf66a..be22802dbe 100644
--- a/misc/tst-preadvwritev2.c
+++ b/misc/tst-preadvwritev2.c
@@ -29,6 +29,7 @@ static int
 do_test (void)
 {
   do_test_with_invalid_flags ();
+  do_test_without_offset ();
 
   return do_test_with_offset (0);
 }