7f82fe9751
Update to latest ltp-testsuite release, which resolves sparc64/sparc autobuild failures: http://autobuild.buildroot.net/results/a6445df26514dfa9cd7e5b9d34b4687d46a8d19b/ Furthermore it should fix any other uClibc-ng related issues. 0001-fix-build-on-uClibc-exp10.patch removed, as uClibc-ng 1.0.12 contains exp10() implementation. 0001-fix-uClibc-build.patch suggested upstream. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
52 lines
2.2 KiB
Diff
52 lines
2.2 KiB
Diff
O_DIRECTORY is only available if _GNU_SOURCE is defined
|
|
|
|
https://github.com/linux-test-project/ltp/pull/58
|
|
|
|
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
|
|
|
|
diff -Nur ltp-full-20160126.orig/testcases/kernel/syscalls/fanotify/fanotify01.c ltp-full-20160126/testcases/kernel/syscalls/fanotify/fanotify01.c
|
|
--- ltp-full-20160126.orig/testcases/kernel/syscalls/fanotify/fanotify01.c 2016-01-26 13:35:25.000000000 +0100
|
|
+++ ltp-full-20160126/testcases/kernel/syscalls/fanotify/fanotify01.c 2016-03-05 00:55:02.977264913 +0100
|
|
@@ -25,6 +25,7 @@
|
|
* DESCRIPTION
|
|
* Check that fanotify work for a file
|
|
*/
|
|
+#define _GNU_SOURCE
|
|
#include "config.h"
|
|
|
|
#include <stdio.h>
|
|
diff -Nur ltp-full-20160126.orig/testcases/kernel/syscalls/fanotify/fanotify02.c ltp-full-20160126/testcases/kernel/syscalls/fanotify/fanotify02.c
|
|
--- ltp-full-20160126.orig/testcases/kernel/syscalls/fanotify/fanotify02.c 2016-01-26 13:35:25.000000000 +0100
|
|
+++ ltp-full-20160126/testcases/kernel/syscalls/fanotify/fanotify02.c 2016-03-05 00:54:44.600558612 +0100
|
|
@@ -25,6 +25,7 @@
|
|
* DESCRIPTION
|
|
* Check that fanotify work for children of a directory
|
|
*/
|
|
+#define _GNU_SOURCE
|
|
#include "config.h"
|
|
|
|
#include <stdio.h>
|
|
diff -Nur ltp-full-20160126.orig/testcases/kernel/syscalls/fanotify/fanotify03.c ltp-full-20160126/testcases/kernel/syscalls/fanotify/fanotify03.c
|
|
--- ltp-full-20160126.orig/testcases/kernel/syscalls/fanotify/fanotify03.c 2016-01-26 13:35:25.000000000 +0100
|
|
+++ ltp-full-20160126/testcases/kernel/syscalls/fanotify/fanotify03.c 2016-03-05 00:55:13.917685403 +0100
|
|
@@ -25,6 +25,7 @@
|
|
* DESCRIPTION
|
|
* Check that fanotify permission events work
|
|
*/
|
|
+#define _GNU_SOURCE
|
|
#include "config.h"
|
|
|
|
#include <stdio.h>
|
|
diff -Nur ltp-full-20160126.orig/testcases/kernel/syscalls/fanotify/fanotify04.c ltp-full-20160126/testcases/kernel/syscalls/fanotify/fanotify04.c
|
|
--- ltp-full-20160126.orig/testcases/kernel/syscalls/fanotify/fanotify04.c 2016-01-26 13:35:25.000000000 +0100
|
|
+++ ltp-full-20160126/testcases/kernel/syscalls/fanotify/fanotify04.c 2016-03-05 00:55:24.530093286 +0100
|
|
@@ -25,6 +25,8 @@
|
|
* DESCRIPTION
|
|
* Check various fanotify special flags
|
|
*/
|
|
+
|
|
+#define _GNU_SOURCE
|
|
#include "config.h"
|
|
|
|
#include <stdio.h>
|