1
0
mirror of https://passt.top/passt synced 2024-06-21 02:27:05 +00:00
passt/test/distro
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
..
debian test: Use paths in __STATEDIR__ instead of 'temp' and 'tempdir' directives 2022-09-13 11:12:41 +02:00
fedora test: Use paths in __STATEDIR__ instead of 'temp' and 'tempdir' directives 2022-09-13 11:12:41 +02:00
opensuse test: Use paths in __STATEDIR__ instead of 'temp' and 'tempdir' directives 2022-09-13 11:12:41 +02:00
ubuntu test: Use paths in __STATEDIR__ instead of 'temp' and 'tempdir' directives 2022-09-13 11:12:41 +02:00