summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace/ptest-spacesave.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/strace/strace/ptest-spacesave.patch')
-rw-r--r--meta/recipes-devtools/strace/strace/ptest-spacesave.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-devtools/strace/strace/ptest-spacesave.patch b/meta/recipes-devtools/strace/strace/ptest-spacesave.patch
new file mode 100644
index 0000000000..3e32cc388c
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace/ptest-spacesave.patch
@@ -0,0 +1,19 @@
1If the test is successful, remove the log and exp files. This stops strace
2using around 600MB of disk space and running our ptest images out of space.
3
4RP 2019/5/29
5
6Upstream-Status: Inappropriate [specific to OE image space issues]
7
8Index: strace-4.26/tests/gen_tests.sh
9===================================================================
10--- strace-4.26.orig/tests/gen_tests.sh
11+++ strace-4.26/tests/gen_tests.sh
12@@ -62,6 +62,7 @@ while read -r name arg0 args; do {
13 $hdr
14 . "\${srcdir=.}/init.sh"
15 run_strace_match_diff $arg0 $args
16+ rm -rf log exp
17 EOF
18 ;;
19