Add missing test cleanup.

This commit is contained in:
Nicholas Marriott
2026-09-21 22:16:06 +01:00
parent 1d9943c6e6
commit 6871fcb157
4 changed files with 26 additions and 5 deletions

View File

@@ -7,6 +7,8 @@ TERM=screen
[ -z "$TEST_TMUX" ] && TEST_TMUX=$(readlink -f ../tmux)
TMUX="$TEST_TMUX -LtestA$$ -f/dev/null"
trap '$TMUX kill-server 2>/dev/null' 0
trap 'exit 1' 1 2 15
# test_format $format $expected_result
test_format()