mirror of
https://passt.top/passt
synced 2025-05-30 21:05:34 +02:00
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>
This commit is contained in:
parent
8cb7d5b461
commit
e4ecb6d795
3 changed files with 16 additions and 19 deletions
test
7
test/run
7
test/run
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue