aboutsummaryrefslogtreecommitdiff
path: root/tests/drive_del-test.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-05-03 00:35:49 +0800
committerKevin Wolf <kwolf@redhat.com>2017-05-11 11:08:40 +0200
commit2420d369a2c16867ee18fd363b617aa5a66ab933 (patch)
tree58aa261a56a0e16b22fcea62c9bbf781f77fb019 /tests/drive_del-test.c
parent7ceb4fc1147ea34a50f1846db3782a8329a4efb4 (diff)
tests: Use null-co:// instead of /dev/null as the dummy image
Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/drive_del-test.c')
-rw-r--r--tests/drive_del-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/drive_del-test.c b/tests/drive_del-test.c
index 121b9c917e..2175139abb 100644
--- a/tests/drive_del-test.c
+++ b/tests/drive_del-test.c
@@ -92,7 +92,7 @@ static void test_after_failed_device_add(void)
static void test_drive_del_device_del(void)
{
/* Start with a drive used by a device that unplugs instantaneously */
- qtest_start("-drive if=none,id=drive0,file=/dev/null,format=raw"
+ qtest_start("-drive if=none,id=drive0,file=null-co://,format=raw"
" -device virtio-scsi-pci"
" -device scsi-hd,drive=drive0,id=dev0");