]> Git Repo - qemu.git/blobdiff - tests/nvme-test.c
qemu-iotests: fix test_stream_partial()
[qemu.git] / tests / nvme-test.c
index 85768e837b598e9de3da368b051c647f0b97a7be..ec06893eee2e9c3957bad31c85a3a2bcec093a05 100644 (file)
@@ -7,10 +7,9 @@
  * See the COPYING file in the top-level directory.
  */
 
+#include "qemu/osdep.h"
 #include <glib.h>
-#include <string.h>
 #include "libqtest.h"
-#include "qemu/osdep.h"
 
 /* Tests only initialization so far. TODO: Replace with functional tests */
 static void nop(void)
@@ -24,7 +23,7 @@ int main(int argc, char **argv)
     g_test_init(&argc, &argv, NULL);
     qtest_add_func("/nvme/nop", nop);
 
-    qtest_start("-drive id=drv0,if=none,file=/dev/null "
+    qtest_start("-drive id=drv0,if=none,file=/dev/null,format=raw "
                 "-device nvme,drive=drv0,serial=foo");
     ret = g_test_run();
 
This page took 0.025331 seconds and 4 git commands to generate.