diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-09-13 14:35:20 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-09-13 11:12:41 +0200 |
commit | e4ecb6d795ef10d26a89e195c23a43bf524e5a41 (patch) | |
tree | a32f564d334e9e026a6ac8088f5d25a2a20ceda3 /test/run | |
parent | 8cb7d5b461f0fc7c49fcb5cd6b0ce8dfcb15fce8 (diff) | |
download | passt-e4ecb6d795ef10d26a89e195c23a43bf524e5a41.tar passt-e4ecb6d795ef10d26a89e195c23a43bf524e5a41.tar.gz passt-e4ecb6d795ef10d26a89e195c23a43bf524e5a41.tar.bz2 passt-e4ecb6d795ef10d26a89e195c23a43bf524e5a41.tar.lz passt-e4ecb6d795ef10d26a89e195c23a43bf524e5a41.tar.xz passt-e4ecb6d795ef10d26a89e195c23a43bf524e5a41.tar.zst passt-e4ecb6d795ef10d26a89e195c23a43bf524e5a41.zip |
test: Move passt_test_log_pipe to state directory
We use this fifo to send messages to the information pane. Put it in the
state directory so it doesn't need its own cleanup.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/run')
-rwxr-xr-x | test/run | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -49,13 +49,11 @@ COMMIT="$(git log --oneline --no-decorate -1)" # cleanup() - Remove temporary files cleanup() { [ ${DEBUG} -eq 1 ] || rm -rf "${STATEBASE}" - rm -f /tmp/.passt_test_log_pipe } # run() - Call setup functions, run tests, handle exit from test session run() { - rm -f /tmp/.passt_test_log_pipe - mkfifo /tmp/.passt_test_log_pipe + mkfifo $STATEBASE/log_pipe term perf_init @@ -131,8 +129,7 @@ run() { # demo() - Simpler path for demo purposes demo() { - rm -f /tmp/.passt_test_log_pipe - mkfifo /tmp/.passt_test_log_pipe + mkfifo $STATEBASE/log_pipe FAST=0 |