Hello,
this patch fails FTBFS I got on Debian system due to missing headers.
Regards
Jiri Palecek
Signed-off-by: Jiri Palecek <[email protected]>
---
testcases/kernel/syscalls/dup3/dup3_01.c | 1 +
.../syscalls/epoll_create1/epoll_create1_01.c | 1 +
testcases/kernel/syscalls/eventfd2/eventfd2_01.c | 1 +
testcases/kernel/syscalls/eventfd2/eventfd2_02.c | 1 +
.../syscalls/inotify_init/inotify_init1_01.c | 1 +
.../syscalls/inotify_init/inotify_init1_02.c | 1 +
testcases/kernel/syscalls/pipe2/pipe2_01.c | 1 +
testcases/kernel/syscalls/pipe2/pipe2_02.c | 1 +
testcases/kernel/syscalls/signalfd4/signalfd4_01.c | 1 +
testcases/kernel/syscalls/signalfd4/signalfd4_02.c | 1 +
testcases/kernel/syscalls/timerfd/timerfd02.c | 1 +
testcases/kernel/syscalls/timerfd/timerfd03.c | 1 +
12 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/testcases/kernel/syscalls/dup3/dup3_01.c
b/testcases/kernel/syscalls/dup3/dup3_01.c
index d279657..49ec7cf 100644
--- a/testcases/kernel/syscalls/dup3/dup3_01.c
+++ b/testcases/kernel/syscalls/dup3/dup3_01.c
@@ -56,6 +56,7 @@
#include <time.h>
#include <unistd.h>
#include <sys/syscall.h>
+#include <errno.h>
/* Harness Specific Include Files. */
#include "test.h"
diff --git a/testcases/kernel/syscalls/epoll_create1/epoll_create1_01.c
b/testcases/kernel/syscalls/epoll_create1/epoll_create1_01.c
index ddd534f..6ce62f9 100644
--- a/testcases/kernel/syscalls/epoll_create1/epoll_create1_01.c
+++ b/testcases/kernel/syscalls/epoll_create1/epoll_create1_01.c
@@ -58,6 +58,7 @@
#include <time.h>
#include <unistd.h>
#include <sys/syscall.h>
+#include <errno.h>
/* Harness Specific Include Files. */
#include "test.h"
diff --git a/testcases/kernel/syscalls/eventfd2/eventfd2_01.c
b/testcases/kernel/syscalls/eventfd2/eventfd2_01.c
index 99fdd59..e86186b 100644
--- a/testcases/kernel/syscalls/eventfd2/eventfd2_01.c
+++ b/testcases/kernel/syscalls/eventfd2/eventfd2_01.c
@@ -57,6 +57,7 @@
#include <stdio.h>
#include <unistd.h>
#include <sys/syscall.h>
+#include <errno.h>
/* Harness Specific Include Files. */
#include "test.h"
diff --git a/testcases/kernel/syscalls/eventfd2/eventfd2_02.c
b/testcases/kernel/syscalls/eventfd2/eventfd2_02.c
index d181f97..acc8205 100644
--- a/testcases/kernel/syscalls/eventfd2/eventfd2_02.c
+++ b/testcases/kernel/syscalls/eventfd2/eventfd2_02.c
@@ -54,6 +54,7 @@
#include <stdio.h>
#include <unistd.h>
#include <sys/syscall.h>
+#include <errno.h>
/* Harness Specific Include Files. */
#include "test.h"
diff --git a/testcases/kernel/syscalls/inotify_init/inotify_init1_01.c
b/testcases/kernel/syscalls/inotify_init/inotify_init1_01.c
index 6229d61..1a51320 100644
--- a/testcases/kernel/syscalls/inotify_init/inotify_init1_01.c
+++ b/testcases/kernel/syscalls/inotify_init/inotify_init1_01.c
@@ -57,6 +57,7 @@
#include <stdio.h>
#include <unistd.h>
#include <sys/syscall.h>
+#include <errno.h>
/* Harness Specific Include Files. */
#include "test.h"
diff --git a/testcases/kernel/syscalls/inotify_init/inotify_init1_02.c
b/testcases/kernel/syscalls/inotify_init/inotify_init1_02.c
index 258f7da..9a8e616 100644
--- a/testcases/kernel/syscalls/inotify_init/inotify_init1_02.c
+++ b/testcases/kernel/syscalls/inotify_init/inotify_init1_02.c
@@ -54,6 +54,7 @@
#include <stdio.h>
#include <unistd.h>
#include <sys/syscall.h>
+#include <errno.h>
/* Harness Specific Include Files. */
#include "test.h"
diff --git a/testcases/kernel/syscalls/pipe2/pipe2_01.c
b/testcases/kernel/syscalls/pipe2/pipe2_01.c
index d4e29a6..0ad62e8 100644
--- a/testcases/kernel/syscalls/pipe2/pipe2_01.c
+++ b/testcases/kernel/syscalls/pipe2/pipe2_01.c
@@ -65,6 +65,7 @@
#include <stdio.h>
#include <unistd.h>
#include <sys/syscall.h>
+#include <errno.h>
/* Harness Specific Include Files. */
#include "test.h"
diff --git a/testcases/kernel/syscalls/pipe2/pipe2_02.c
b/testcases/kernel/syscalls/pipe2/pipe2_02.c
index 5d9b8dc..a9a6c8a 100644
--- a/testcases/kernel/syscalls/pipe2/pipe2_02.c
+++ b/testcases/kernel/syscalls/pipe2/pipe2_02.c
@@ -56,6 +56,7 @@
#include <stdio.h>
#include <unistd.h>
#include <sys/syscall.h>
+#include <errno.h>
/* Harness Specific Include Files. */
#include "test.h"
diff --git a/testcases/kernel/syscalls/signalfd4/signalfd4_01.c
b/testcases/kernel/syscalls/signalfd4/signalfd4_01.c
index 96d7a5e..909fb53 100644
--- a/testcases/kernel/syscalls/signalfd4/signalfd4_01.c
+++ b/testcases/kernel/syscalls/signalfd4/signalfd4_01.c
@@ -59,6 +59,7 @@
#include <stdio.h>
#include <unistd.h>
#include <sys/syscall.h>
+#include <errno.h>
/* Harness Specific Include Files. */
#include "test.h"
diff --git a/testcases/kernel/syscalls/signalfd4/signalfd4_02.c
b/testcases/kernel/syscalls/signalfd4/signalfd4_02.c
index 6b2e1d0..7dce99c 100644
--- a/testcases/kernel/syscalls/signalfd4/signalfd4_02.c
+++ b/testcases/kernel/syscalls/signalfd4/signalfd4_02.c
@@ -55,6 +55,7 @@
#include <stdio.h>
#include <unistd.h>
#include <sys/syscall.h>
+#include <errno.h>
/* Harness Specific Include Files. */
#include "test.h"
diff --git a/testcases/kernel/syscalls/timerfd/timerfd02.c
b/testcases/kernel/syscalls/timerfd/timerfd02.c
index e49ee90..6aee795 100644
--- a/testcases/kernel/syscalls/timerfd/timerfd02.c
+++ b/testcases/kernel/syscalls/timerfd/timerfd02.c
@@ -59,6 +59,7 @@
#include <time.h>
#include <unistd.h>
#include <sys/syscall.h>
+#include <errno.h>
/* Harness Specific Include Files. */
#include "test.h"
diff --git a/testcases/kernel/syscalls/timerfd/timerfd03.c
b/testcases/kernel/syscalls/timerfd/timerfd03.c
index 7985d99..ad27cec 100644
--- a/testcases/kernel/syscalls/timerfd/timerfd03.c
+++ b/testcases/kernel/syscalls/timerfd/timerfd03.c
@@ -55,6 +55,7 @@
#include <time.h>
#include <unistd.h>
#include <sys/syscall.h>
+#include <errno.h>
/* Harness Specific Include Files. */
#include "test.h"
--
1.6.2.rc1
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list