summaryrefslogtreecommitdiff
path: root/package/ltp/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/ltp/patches')
-rw-r--r--package/ltp/patches/patch-runltp8
-rw-r--r--package/ltp/patches/patch-runtest_mm6
-rw-r--r--package/ltp/patches/patch-runtest_sched8
-rw-r--r--package/ltp/patches/patch-runtest_syscalls6
-rw-r--r--package/ltp/patches/patch-testcases_kernel_syscalls_fanotify_fanotify02_c10
-rw-r--r--package/ltp/patches/patch-testcases_kernel_syscalls_fanotify_fanotify04_c10
6 files changed, 34 insertions, 14 deletions
diff --git a/package/ltp/patches/patch-runltp b/package/ltp/patches/patch-runltp
index 94bc79e84..54728adfd 100644
--- a/package/ltp/patches/patch-runltp
+++ b/package/ltp/patches/patch-runltp
@@ -1,5 +1,5 @@
---- ltp-full-20140828.orig/runltp 2014-08-28 12:11:45.000000000 +0200
-+++ ltp-full-20140828/runltp 2014-09-01 13:55:06.540554810 +0200
+--- ltp-5ad79b71f6df2f191f6a81c6ef71078781c0ab15.orig/runltp 2015-12-06 17:03:41.000000000 +0100
++++ ltp-5ad79b71f6df2f191f6a81c6ef71078781c0ab15/runltp 2015-12-06 17:12:57.000000000 +0100
@@ -77,7 +77,7 @@ setup()
exit 1
}
@@ -8,8 +8,8 @@
+ export TMPBASE="/opt/ltp/tmp"
export PATH="${PATH}:${LTPROOT}/testcases/bin"
- export LTP_DEV=""
-@@ -669,11 +669,11 @@ main()
+ export LTP_DEV_FS_TYPE="ext2"
+@@ -695,11 +695,11 @@ main()
fi
# check for required users and groups
diff --git a/package/ltp/patches/patch-runtest_mm b/package/ltp/patches/patch-runtest_mm
index 8f3181a24..6a94dde3f 100644
--- a/package/ltp/patches/patch-runtest_mm
+++ b/package/ltp/patches/patch-runtest_mm
@@ -1,6 +1,6 @@
---- ltp-full-20140828.orig/runtest/mm 2014-08-28 12:11:45.000000000 +0200
-+++ ltp-full-20140828/runtest/mm 2014-09-01 13:55:06.548554854 +0200
-@@ -107,4 +107,4 @@ overcommit_memory06 overcommit_memory -R
+--- ltp-5ad79b71f6df2f191f6a81c6ef71078781c0ab15.orig/runtest/mm 2015-12-06 17:03:41.000000000 +0100
++++ ltp-5ad79b71f6df2f191f6a81c6ef71078781c0ab15/runtest/mm 2015-12-06 17:12:57.000000000 +0100
+@@ -102,4 +102,4 @@ overcommit_memory06 overcommit_memory -R
max_map_count max_map_count -i 10
diff --git a/package/ltp/patches/patch-runtest_sched b/package/ltp/patches/patch-runtest_sched
index d39872647..38b8be05d 100644
--- a/package/ltp/patches/patch-runtest_sched
+++ b/package/ltp/patches/patch-runtest_sched
@@ -1,5 +1,5 @@
---- ltp-full-20140422.orig/runtest/sched 2014-04-23 10:36:54.000000000 +0200
-+++ ltp-full-20140422/runtest/sched 2014-07-09 18:50:14.482506093 +0200
+--- ltp-5ad79b71f6df2f191f6a81c6ef71078781c0ab15.orig/runtest/sched 2015-12-06 17:03:41.000000000 +0100
++++ ltp-5ad79b71f6df2f191f6a81c6ef71078781c0ab15/runtest/sched 2015-12-06 17:12:57.000000000 +0100
@@ -6,8 +6,8 @@ pth_str03 pth_str03
time-schedule01 time-schedule
trace_sched01 trace_sched -c 1
@@ -9,5 +9,5 @@
+#hackbench01 hackbench 50 process 500
+#hackbench02 hackbench 20 thread 500
- sched_cli_serv run_sched_cliserv.sh
- # Run this stress test for 2 minutes
+ sched_setattr01 sched_setattr01
+ sched_getattr01 sched_getattr01
diff --git a/package/ltp/patches/patch-runtest_syscalls b/package/ltp/patches/patch-runtest_syscalls
index 5597697a4..32ca4fa5e 100644
--- a/package/ltp/patches/patch-runtest_syscalls
+++ b/package/ltp/patches/patch-runtest_syscalls
@@ -1,6 +1,6 @@
---- ltp-full-20140828.orig/runtest/syscalls 2014-08-28 12:11:45.000000000 +0200
-+++ ltp-full-20140828/runtest/syscalls 2014-09-01 13:55:06.556554900 +0200
-@@ -281,7 +281,7 @@ fork08 fork08
+--- ltp-5ad79b71f6df2f191f6a81c6ef71078781c0ab15.orig/runtest/syscalls 2015-12-06 17:03:41.000000000 +0100
++++ ltp-5ad79b71f6df2f191f6a81c6ef71078781c0ab15/runtest/syscalls 2015-12-06 17:12:57.000000000 +0100
+@@ -286,7 +286,7 @@ fork08 fork08
fork09 fork09
fork10 fork10
fork11 fork11
diff --git a/package/ltp/patches/patch-testcases_kernel_syscalls_fanotify_fanotify02_c b/package/ltp/patches/patch-testcases_kernel_syscalls_fanotify_fanotify02_c
new file mode 100644
index 000000000..1cfc1df7e
--- /dev/null
+++ b/package/ltp/patches/patch-testcases_kernel_syscalls_fanotify_fanotify02_c
@@ -0,0 +1,10 @@
+--- ltp-5ad79b71f6df2f191f6a81c6ef71078781c0ab15.orig/testcases/kernel/syscalls/fanotify/fanotify02.c 2015-12-06 17:03:41.000000000 +0100
++++ ltp-5ad79b71f6df2f191f6a81c6ef71078781c0ab15/testcases/kernel/syscalls/fanotify/fanotify02.c 2015-12-06 17:47:14.000000000 +0100
+@@ -27,6 +27,7 @@
+ */
+ #include "config.h"
+
++#define _GNU_SOURCE
+ #include <stdio.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
diff --git a/package/ltp/patches/patch-testcases_kernel_syscalls_fanotify_fanotify04_c b/package/ltp/patches/patch-testcases_kernel_syscalls_fanotify_fanotify04_c
new file mode 100644
index 000000000..db277f87d
--- /dev/null
+++ b/package/ltp/patches/patch-testcases_kernel_syscalls_fanotify_fanotify04_c
@@ -0,0 +1,10 @@
+--- ltp-5ad79b71f6df2f191f6a81c6ef71078781c0ab15.orig/testcases/kernel/syscalls/fanotify/fanotify04.c 2015-12-06 17:03:41.000000000 +0100
++++ ltp-5ad79b71f6df2f191f6a81c6ef71078781c0ab15/testcases/kernel/syscalls/fanotify/fanotify04.c 2015-12-06 17:51:52.000000000 +0100
+@@ -27,6 +27,7 @@
+ */
+ #include "config.h"
+
++#define _GNU_SOURCE
+ #include <stdio.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>