Re: [PATCH for-9.2 1/9] tests/qtest/migration-test: Fix bootfile cleanup handling

2024-08-21 Thread Fabiano Rosas
Peter Maydell writes: > If you invoke the migration-test binary in such a way that it doesn't run > any tests, then we never call bootfile_create(), and at the end of > main() bootfile_delete() will try to unlink(NULL), which is not valid. > This can happen if for instance you tell the test binar

[PATCH for-9.2 1/9] tests/qtest/migration-test: Fix bootfile cleanup handling

2024-08-20 Thread Peter Maydell
If you invoke the migration-test binary in such a way that it doesn't run any tests, then we never call bootfile_create(), and at the end of main() bootfile_delete() will try to unlink(NULL), which is not valid. This can happen if for instance you tell the test binary to run a subset of tests that