From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson To: passt-dev@passt.top Subject: [PATCH v5 09/14] test: Move pause temporary file to state directory Date: Tue, 13 Sep 2022 14:35:24 +1000 Message-ID: <20220913043529.3079003-10-david@gibson.dropbear.id.au> In-Reply-To: <20220913043529.3079003-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5185446056555189382==" --===============5185446056555189382== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Signed-off-by: David Gibson --- test/lib/term | 4 ++-- 1 file 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 -- 2.37.3 --===============5185446056555189382==--