1
0
mirror of https://passt.top/passt synced 2024-07-04 00:42:41 +00:00
passt/test/lib
David Gibson 55bbe3dbcb test: Remove race between commands run in the same context
context_run() has a race condition if two commands are run in close
proximity (generally involving at least one in the background).  Because we
always use the same name for the temporary fifo files, if another command
is issued while the fifos for the first still exist, mkfifo will fail,
typically causing the entire test script to jam.

Create unique names for the temporary fifos to avoid this problem.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2023-04-08 01:11:36 +02:00
..
context test: Remove race between commands run in the same context 2023-04-08 01:11:36 +02:00
layout passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
layout_ugly passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
perf_report passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
setup passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
setup_ugly passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
term passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
test passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
util passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
video passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00