tests: Set EXIT trap to show temp contents
This commit is contained in:
parent
11c48727d3
commit
03c5e9441a
|
@ -71,6 +71,8 @@ EOF
|
|||
|
||||
temp=$(mktemp)
|
||||
|
||||
trap 'cat "$temp"' EXIT
|
||||
|
||||
/tmp/clipmenu --foo bar > "$temp" 2>&1
|
||||
|
||||
# Arguments are transparently passed to dmenu
|
||||
|
|
Loading…
Reference in a new issue