qemu-e2k/tests/migration
Hyman 927fae0eb9 tests/migration: fix unix socket migration
The test aborts and error message as the following be throwed:
"No such file or directory: '/var/tmp/qemu-migrate-{pid}.migrate",
when the unix socket migration test nearly done. The reason is
qemu removes the unix socket file after migration before
guestperf.py script do it. So pre-check if the socket file exists
when removing it to prevent the guestperf program from aborting.

See also commit f9cc00346d ("tests/migration: fix unix socket batch
migration").

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Signed-off-by: Hyman <huangy81@chinatelecom.cn>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2021-07-14 14:15:52 +01:00
..
aarch64
guestperf tests/migration: fix unix socket migration 2021-07-14 14:15:52 +01:00
i386
s390x
guestperf-batch.py tests/migration: Fix LGPL information in the file headers 2020-11-15 17:04:40 +01:00
guestperf-plot.py tests/migration: Fix LGPL information in the file headers 2020-11-15 17:04:40 +01:00
guestperf.py tests/migration: Fix LGPL information in the file headers 2020-11-15 17:04:40 +01:00
initrd-stress.sh
Makefile
meson.build
migration-test.h
stress.c tests: Rename PAGE_SIZE definitions 2021-01-20 10:46:54 +01:00