[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] tests: cleanup files left behind by sv-52220.sh
From: |
Bernhard Voelker |
Subject: |
[PATCH] tests: cleanup files left behind by sv-52220.sh |
Date: |
Mon, 30 Oct 2017 21:25:23 +0100 |
'make distcheck' failed with:
...
ERROR: files left in build directory after distclean:
./find/testsuite/find.err
./find/testsuite/oldfind.err
Makefile:2064: recipe for target 'distcleancheck' failed
* find/testsuite/sv-52220.sh: Add command to remove the temporary
files used for stderr output.
Bug introduced in commit v4.6.0-123-gef1581e.
---
find/testsuite/sv-52220.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/find/testsuite/sv-52220.sh b/find/testsuite/sv-52220.sh
index eeb9d1f..516e455 100755
--- a/find/testsuite/sv-52220.sh
+++ b/find/testsuite/sv-52220.sh
@@ -56,6 +56,7 @@ for exe in "${ftsfind}" "${oldfind}"; do
returns_ 1 "$exe" -D >/dev/null 2> "$err" || fail=1
grep -F "find: Missing argument after the -D option." "$err" \
|| { cat "$err"; fail=1; }
+ rm -f "$err" || die "cleanup failed"
done
exit $fail
--
2.1.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] tests: cleanup files left behind by sv-52220.sh,
Bernhard Voelker <=