tests: Set EXIT trap to show temp contents

This commit is contained in:
Chris Down 2020-03-30 19:17:11 +01:00
parent 11c48727d3
commit 03c5e9441a

View file

@ -71,6 +71,8 @@ EOF
temp=$(mktemp)
trap 'cat "$temp"' EXIT
/tmp/clipmenu --foo bar > "$temp" 2>&1
# Arguments are transparently passed to dmenu