commit 03c5e9441a1e35b2e0a4c705f316c0b1f0dc580b parent 11c48727d3723afe68eaa616d4271f0af00e05b4 Author: Chris Down <chris@chrisdown.name> Date: Mon, 30 Mar 2020 19:17:11 +0100 tests: Set EXIT trap to show temp contents Diffstat:
M | tests/test-clipmenu | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/tests/test-clipmenu b/tests/test-clipmenu @@ -71,6 +71,8 @@ EOF temp=$(mktemp) +trap 'cat "$temp"' EXIT + /tmp/clipmenu --foo bar > "$temp" 2>&1 # Arguments are transparently passed to dmenu