1
0
mirror of https://passt.top/passt synced 2024-07-04 00:42:41 +00:00
passt/test/lib
David Gibson 1c36c8d3f8 test: Use paths in __STATEDIR__ instead of 'temp' and 'tempdir' directives
Instead of using the 'temp' and 'tempdir' DSL directives to create
temporary files, use fixed paths relative to __STATEDIR__.  This has two
advantages:
  1) The files are automatically cleaned up if the tests fail (and even if
     that doesn't work they're easier to clean up manuall)
  2) When debugging tests it's easier to figure out which of the temporary
     files are relevant to whatever's going wrong

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2022-09-13 11:12:41 +02:00
..
context test: Move context temporary files to state dir 2022-09-13 11:12:41 +02:00
layout test: Move passt_test_log_pipe to state directory 2022-09-13 11:12:41 +02:00
perf_report test/lib: Consistent cols, rows, poster attributes for asciinema player 2022-04-07 11:44:35 +02:00
setup test: Create common state directories for temporary files 2022-09-13 11:12:41 +02:00
term test: Move passt_test_log_pipe to state directory 2022-09-13 11:12:41 +02:00
test test: Use paths in __STATEDIR__ instead of 'temp' and 'tempdir' directives 2022-09-13 11:12:41 +02:00
util tests: Remove unused set_mode() function 2022-07-14 01:32:42 +02:00
video test: Remove unused variable FFMPEG_PID_FILE 2022-09-13 11:12:41 +02:00