[LTP] LTP tip busted for x86_64 + glibc !

Vineet Gupta Vineet.Gupta1@synopsys.com
Wed Feb 15 18:54:56 CET 2017


It seems I need the following fixups

------->
diff --git a/testcases/kernel/syscalls/preadv/preadv.h
b/testcases/kernel/syscalls/preadv/preadv.h
index f3ac30db3e02..8c48d3a7c05b 100644
--- a/testcases/kernel/syscalls/preadv/preadv.h
+++ b/testcases/kernel/syscalls/preadv/preadv.h
@@ -22,7 +22,7 @@
 #include "linux_syscall_numbers.h"
 
 #if !defined(HAVE_PREADV)
-int preadv(int fd, const struct iovec *iov, int iovcnt, off_t offset)
+ssize_t preadv(int fd, const struct iovec *iov, int iovcnt, off_t offset)
 {
        return tst_syscall(__NR_preadv, fd, iov, iovcnt, offset);
 }
diff --git a/testcases/kernel/syscalls/pwritev/pwritev.h
b/testcases/kernel/syscalls/pwritev/pwritev.h
index 4970036efec1..9a2a3a8b0c6f 100644
--- a/testcases/kernel/syscalls/pwritev/pwritev.h
+++ b/testcases/kernel/syscalls/pwritev/pwritev.h
@@ -22,7 +22,7 @@
 #include "linux_syscall_numbers.h"
 
 #if !defined(HAVE_PWRITEV)
-int pwritev(int fd, const struct iovec *iov, int iovcnt, off_t offset)
+ssize_t pwritev(int fd, const struct iovec *iov, int iovcnt, off_t offset)
 {
        return tst_syscall(__NR_pwritev, fd, iov, iovcnt, offset);



More information about the ltp mailing list