1
0
mirror of https://passt.top/passt synced 2024-07-04 00:42:41 +00:00
passt/test/passt
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
..
dhcp test: Group tests by mode then protocol, rather than the reverse 2022-09-13 11:12:41 +02:00
ndp test: Group tests by mode then protocol, rather than the reverse 2022-09-13 11:12:41 +02:00
shutdown test: Group tests by mode then protocol, rather than the reverse 2022-09-13 11:12:41 +02:00
tcp test: Use paths in __STATEDIR__ instead of 'temp' and 'tempdir' directives 2022-09-13 11:12:41 +02:00
udp test: Use paths in __STATEDIR__ instead of 'temp' and 'tempdir' directives 2022-09-13 11:12:41 +02:00