Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | From 3fad4821d90cd264d1b94253b9cf4fdf5d4034b8 Mon Sep 17 00:00:00 2001 |
| 2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> |
| 3 | Date: Wed, 29 May 2019 00:10:32 +0100 |
| 4 | Subject: [PATCH] strace: Tweak ptest disk space management |
| 5 | |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 6 | If the test is successful, remove the log and exp files. This stops strace |
| 7 | using around 600MB of disk space and running our ptest images out of space. |
| 8 | |
| 9 | RP 2019/5/29 |
| 10 | |
| 11 | Upstream-Status: Inappropriate [specific to OE image space issues] |
| 12 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 13 | --- |
| 14 | tests/gen_tests.sh | 1 + |
| 15 | 1 file changed, 1 insertion(+) |
| 16 | |
| 17 | diff --git a/tests/gen_tests.sh b/tests/gen_tests.sh |
| 18 | index 3540204..5e1e7c9 100755 |
| 19 | --- a/tests/gen_tests.sh |
| 20 | +++ b/tests/gen_tests.sh |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 21 | @@ -62,6 +62,7 @@ while read -r name arg0 args; do { |
| 22 | $hdr |
| 23 | . "\${srcdir=.}/init.sh" |
| 24 | run_strace_match_diff $arg0 $args |
| 25 | + rm -rf log exp |
| 26 | EOF |
| 27 | ;; |
| 28 | |