From: Bin Meng <bin.meng@windriver.com>
Previously request_{bios, pflash} cases were skipped on win32, mainly
due to create_blob_file() calling mmap() which does not exist on win32.
This rewirtes create_blob_file() to be portable, so that we can enable
these cases on Windows.
Suggested-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Bin Meng <bin.meng@windriver.com>
---
Changes in v3:
- Remove unnecessary "error = NULL" statements
Changes in v2:
- new patch: "tests/qtest: i440fx-test: Rewrite create_blob_file() to be
portable"
tests/qtest/i440fx-test.c | 54 ++++++++++-----------------------------
1 file changed, 14 insertions(+), 40 deletions(-)