aboutgitcodebugslistschat
path: root/test/lib/term
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-09-13 14:35:24 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-09-13 11:12:41 +0200
commit07aa24499e2a16ae87a2cd7c1e50a718d77addf7 (patch)
treec83032bd4dc80e0c01b5fa7103b86bb76fa81315 /test/lib/term
parent1c36c8d3f8e05d6dbde2842b6c9f78ffc538036c (diff)
downloadpasst-07aa24499e2a16ae87a2cd7c1e50a718d77addf7.tar
passt-07aa24499e2a16ae87a2cd7c1e50a718d77addf7.tar.gz
passt-07aa24499e2a16ae87a2cd7c1e50a718d77addf7.tar.bz2
passt-07aa24499e2a16ae87a2cd7c1e50a718d77addf7.tar.lz
passt-07aa24499e2a16ae87a2cd7c1e50a718d77addf7.tar.xz
passt-07aa24499e2a16ae87a2cd7c1e50a718d77addf7.tar.zst
passt-07aa24499e2a16ae87a2cd7c1e50a718d77addf7.zip
test: Move pause temporary file to state directory
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/lib/term')
-rwxr-xr-xtest/lib/term4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/term b/test/lib/term
index 9a3ef7f..c9720be 100755
--- a/test/lib/term
+++ b/test/lib/term
@@ -599,8 +599,8 @@ pause_continue() {
info_nolog "${1}"
info_nolog_n "${2}"
- __pause_tmp="$(mktemp)"
- echo >> "${__pause_tmp}"
+ __pause_tmp="${STATEBASE}/pause.tmp"
+ echo > "${__pause_tmp}"
tmux pipe-pane -O -t ${PANE_INFO} "cat >> ${__pause_tmp}"
__pane_buf=
__wait=0