tests/qtest: migration-test: Handle link() for win32
commit2549f6102e3ac9cab1954b44331c18b16faa3d97
authorBin Meng <bin.meng@windriver.com>
Wed, 24 Aug 2022 09:39:51 +0000 (24 17:39 +0800)
committerThomas Huth <thuth@redhat.com>
Thu, 25 Aug 2022 13:24:09 +0000 (25 15:24 +0200)
treeeabc6986fa821a71a43524898107faf7fe32478e
parent413bebc04603d87d1889c919fbdd4adf30d4ebb5
tests/qtest: migration-test: Handle link() for win32

Windows does not provide a link() API like POSIX. Instead it provides
a similar API CreateHardLink() that does the same thing, but with
different argument order and return value.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20220824094029.1634519-14-bmeng.cn@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/migration-test.c