tests/qtest: {ahci, ide}-test: Use relative path for temporary files for win32
commitbe181f87eb75d21ad82819e92175a2d6716527e0
authorBin Meng <bin.meng@windriver.com>
Sun, 25 Sep 2022 11:30:15 +0000 (25 19:30 +0800)
committerThomas Huth <thuth@redhat.com>
Tue, 27 Sep 2022 18:51:21 +0000 (27 20:51 +0200)
tree80a554dfb6faac7b7ec8d17ff23be74ad76e733e
parent490081b282766df0e91de3903d948f1eed6fe6d2
tests/qtest: {ahci, ide}-test: Use relative path for temporary files for win32

These test cases uses "blkdebug:path/to/config:path/to/image" for
testing. On Windows, absolute file paths contain the delimiter ':'
which causes the blkdebug filename parser fail to parse filenames.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220925113032.1949844-38-bmeng.cn@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/ahci-test.c
tests/qtest/ide-test.c