summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace/ptest-spacesave.patch
blob: 3e32cc388ca43b70d5866297b7ea89a5f8fe0a8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
If the test is successful, remove the log and exp files. This stops strace
using around 600MB of disk space and running our ptest images out of space.

RP 2019/5/29

Upstream-Status: Inappropriate [specific to OE image space issues]

Index: strace-4.26/tests/gen_tests.sh
===================================================================
--- strace-4.26.orig/tests/gen_tests.sh
+++ strace-4.26/tests/gen_tests.sh
@@ -62,6 +62,7 @@ while read -r name arg0 args; do {
 		$hdr
 		. "\${srcdir=.}/init.sh"
 		run_strace_match_diff $arg0 $args
+		rm -rf log exp
 		EOF
 		;;