tests: support tmp-dir on different filesystem 29/37829/6
authorDmitry Valter <d-valter@yandex-team.ru>
Fri, 27 Jan 2023 12:49:55 +0000 (12:49 +0000)
committerDave Wallace <dwallacelf@gmail.com>
Tue, 14 Feb 2023 01:26:01 +0000 (01:26 +0000)
commit71d02aa63183a513dbca98fa53719f7e29271faa
tree5b550b2a5ff06f68ea2ec190cd1b62b3095e4e20
parent8de66c090ef25977d8cc9c10084edbe146999c61
tests: support tmp-dir on different filesystem

Support running tests with `--tmp-dir` on a filesystem different from /tmp.
os.rename withs only within a single FS whereas shutil.move works accross
different filesystems.

Type: improvement
Signed-off-by: Dmitry Valter <d-valter@yandex-team.ru>
Change-Id: I5371f5d75386bd2b82a75b3e6c1f2c850bc62356
test/asf/asfframework.py
test/asf/test_api_trace.py
test/framework.py
test/vpp_pg_interface.py