]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test: silence dd output to make test run output more readable
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Sat, 4 May 2024 13:08:10 +0000 (09:08 -0400)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Wed, 8 May 2024 15:23:08 +0000 (11:23 -0400)
30 files changed:
modules.d/80test-root/test-init.sh
test/TEST-01-BASIC/create-root.sh
test/TEST-02-SYSTEMD/create-root.sh
test/TEST-03-USR-MOUNT/create-root.sh
test/TEST-04-FULL-SYSTEMD/create-root.sh
test/TEST-10-RAID/create-root.sh
test/TEST-11-LVM/create-root.sh
test/TEST-12-RAID-DEG/create-root.sh
test/TEST-13-ENC-RAID-LVM/create-root.sh
test/TEST-14-IMSM/create-root.sh
test/TEST-15-BTRFSRAID/create-root.sh
test/TEST-16-DMSQUASH/create-root.sh
test/TEST-16-DMSQUASH/test.sh
test/TEST-17-LVM-THIN/create-root.sh
test/TEST-20-NFS/client-init.sh
test/TEST-20-NFS/create-root.sh
test/TEST-30-ISCSI/client-init.sh
test/TEST-30-ISCSI/create-client-root.sh
test/TEST-30-ISCSI/create-server-root.sh
test/TEST-35-ISCSI-MULTI/client-init.sh
test/TEST-35-ISCSI-MULTI/create-client-root.sh
test/TEST-35-ISCSI-MULTI/create-server-root.sh
test/TEST-40-NBD/client-init.sh
test/TEST-40-NBD/create-client-root.sh
test/TEST-40-NBD/create-encrypted-root.sh
test/TEST-40-NBD/create-server-root.sh
test/TEST-50-MULTINIC/client-init.sh
test/TEST-50-MULTINIC/create-root.sh
test/TEST-60-BONDBRIDGEVLAN/create-root.sh
test/test-functions

index 0f2fedd3bf8c5d3eb05964e3257ad50a663d9ca9..bd6e4850c0268b276182f3a7b4cbecf6f7b40fc0 100755 (executable)
@@ -23,7 +23,7 @@ if [ -s /failed ]; then
     cat /failed
     echo "**************************FAILED**************************"
 else
-    echo "dracut-root-block-success" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+    echo "dracut-root-block-success" | dd oflag=direct,dsync status=none of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
     echo "All OK"
 fi
 
index 6d0d16e197bad0db04e92966503e7ffbdb082f7d..3e4e42fcddaf1d949ac5f53ff00a011fd2d93029 100755 (executable)
@@ -18,5 +18,5 @@ mount -t ext4 /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_root /root
 cp -a -t /root /source/*
 mkdir -p /root/run
 umount /root
-echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+echo "dracut-root-block-created" | dd oflag=direct,dsync status=none of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
 poweroff -f
index 2da86cc45f2cd861c7148a01ec0cd25f7e948fb3..cb383c10fe0841119d85d405b97068465774d859 100755 (executable)
@@ -17,5 +17,5 @@ mount -t ext4 /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_root /root
 cp -a -t /root /source/*
 mkdir -p /root/run
 umount /root
-echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 poweroff -f
index c7de7de5215f1a4d1ec4c12302dc15d4b95b1cc2..7ec5df6440f457f7702a337853b91f14f66f8e9d 100755 (executable)
@@ -29,5 +29,5 @@ btrfs filesystem sync /root/usr
 btrfs filesystem sync /root
 umount /root/usr
 umount /root
-echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 poweroff -f
index c7de7de5215f1a4d1ec4c12302dc15d4b95b1cc2..7ec5df6440f457f7702a337853b91f14f66f8e9d 100755 (executable)
@@ -29,5 +29,5 @@ btrfs filesystem sync /root/usr
 btrfs filesystem sync /root
 umount /root/usr
 umount /root
-echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 poweroff -f
index 6efaf197b70f7864a186fd8c4bbe4d6f5b33e7d3..89a3edc9ba24521b946a2b2e5ef6c354857d9865 100755 (executable)
@@ -42,6 +42,6 @@ eval "$(udevadm info --query=property --name=/dev/md0 | while read -r line || [
     echo "dracut-root-block-created"
     echo MD_UUID="$MD_UUID"
     echo "ID_FS_UUID=$ID_FS_UUID"
-} | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+} | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 sync
 poweroff -f
index 181239a3eec6632c5f4f841b75a994ed6fee5a20..14c3206caeaab68addf6c21a511cc3c53b5479e0 100755 (executable)
@@ -24,5 +24,5 @@ mount -t ext4 /dev/dracut/root /sysroot
 cp -a -t /sysroot /source/*
 umount /sysroot
 lvm lvchange -a n /dev/dracut/root
-echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 poweroff -f
index 6efaf197b70f7864a186fd8c4bbe4d6f5b33e7d3..89a3edc9ba24521b946a2b2e5ef6c354857d9865 100755 (executable)
@@ -42,6 +42,6 @@ eval "$(udevadm info --query=property --name=/dev/md0 | while read -r line || [
     echo "dracut-root-block-created"
     echo MD_UUID="$MD_UUID"
     echo "ID_FS_UUID=$ID_FS_UUID"
-} | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+} | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 sync
 poweroff -f
index c5749366547b721158951b11976d685cfe706fb6..dbf242875dfd6bc32bdfeb903829e844f8ae2c69 100755 (executable)
@@ -45,6 +45,6 @@ cryptsetup luksClose /dev/mapper/dracut_disk3
     for i in /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_disk[123]; do
         udevadm info --query=property --name="$i" | grep -F 'ID_FS_UUID='
     done
-} | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+} | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 sync
 poweroff -f
index b2450b8f11afdb67b4f9423975095ae1f43f914f..bfa7f5ea5c6fd8211414f7a0d8bafcc39b3543d1 100755 (executable)
@@ -72,7 +72,7 @@ echo "MD_UUID=$MD_UUID"
 {
     echo "dracut-root-block-created"
     echo MD_UUID="$MD_UUID"
-} | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+} | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 mdadm --wait-clean /dev/md0
 sync
 poweroff -f
index 79a9d0b375f51b1674f7ced4fe85a9e4c2f7019f..bf943e6c7080f824ccb754c2c465d28961b08f7a 100755 (executable)
@@ -23,6 +23,6 @@ mount -t btrfs /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_raid4 /sysroot
 cp -a -t /sysroot /source/*
 umount /sysroot
 
-echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 sync
 poweroff -f
index 172a9f1fb022272a650f037d8b1f5c5a829e85fe..38292b4fa601ae3aea38e950f9fd677225329496 100755 (executable)
@@ -37,5 +37,5 @@ if [ -e "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_root_ntfs" ]; then
 fi
 
 umount /root
-echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 poweroff -f
index 58754e16a155bc512b99e400a082115e44f84b66..cc20a02d985577842635b7eb11afb24898b407ea 100755 (executable)
@@ -46,7 +46,7 @@ test_run() {
 
     # Run the NTFS test only if mkfs.ntfs is available
     if modprobe --dry-run ntfs3 &> /dev/null && command -v mkfs.ntfs &> /dev/null; then
-        dd if=/dev/zero of="$TESTDIR"/marker.img bs=1MiB count=1
+        dd if=/dev/zero of="$TESTDIR"/marker.img bs=1MiB count=1 status=none
         "$testdir"/run-qemu \
             "${disk_args[@]}" \
             -boot order=d \
index 5c652af9e273722aa09842378e2a1845278e29d3..c3d3149eea94dbc7c25e0014f6066ce02c3fef5e 100755 (executable)
@@ -28,7 +28,7 @@ umount /sysroot
 lvm lvchange -a n /dev/dracut/root
 
 if ! dmsetup status | grep -q out_of_data_space; then
-    echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+    echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 fi
 
 sync
index 3105e3c904058eee0fe1ef8410629aefde8b3a1d..04fb6a7b6aa2fc883ecaa440376ab824cbd6bb73 100755 (executable)
@@ -20,14 +20,14 @@ echo "made it to the rootfs! Powering down."
 
 while read -r dev _ fstype opts rest || [ -n "$dev" ]; do
     [ "$fstype" != "nfs" -a "$fstype" != "nfs4" ] && continue
-    echo "nfs-OK $dev $fstype $opts" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+    echo "nfs-OK $dev $fstype $opts" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
     break
 done < /proc/mounts
 
 # fail the test of rd.live.overlay did not worked as expected
 if grep -qF 'rd.live.overlay' /proc/cmdline; then
     if ! strstr "$(cat /proc/mounts)" LiveOS_rootfs; then
-        echo "nfs-FAIL" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+        echo "nfs-FAIL" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
     fi
 fi
 
@@ -43,11 +43,11 @@ if [ "$fstype" = "nfs" -o "$fstype" = "nfs4" ]; then
     echo test:nfs_fetch_url nfs::"${serverip}":"${path}"/root/fetchfile
     if nfs_fetch_url nfs::"${serverip}":"${path}"/root/fetchfile /run/nfsfetch.out; then
         echo nfsfetch-OK
-        echo "nfsfetch-OK" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker2
+        echo "nfsfetch-OK" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker2 status=none
     fi
 else
     echo nfsfetch-BYPASS fstype="${fstype}"
-    echo "nfsfetch-OK" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker2
+    echo "nfsfetch-OK" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker2 status=none
 fi
 
 : > /dev/watchdog
index 8c7a1131471e188d4aea075b05944058f01b3a4a..ffd9c13ba7b51804a9e9bb7b5d4969644a564e0e 100755 (executable)
@@ -18,6 +18,6 @@ mount -t ext4 /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_root /root
 cp -a -t /root /source/*
 mkdir -p /root/run
 umount /root
-echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 sync
 poweroff -f
index 463c33862de76f660d1fc5461edfe00730ea472b..d7f1370cd6898d7debdaf12ec6ebc0855d9491ad 100755 (executable)
@@ -11,7 +11,7 @@ stty sane
 echo "made it to the rootfs! Powering down."
 while read -r dev _ fstype opts rest || [ -n "$dev" ]; do
     [ "$fstype" != "ext4" ] && continue
-    echo "iscsi-OK $dev $fstype $opts" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+    echo "iscsi-OK $dev $fstype $opts" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
     break
 done < /proc/mounts
 
index dbf242139e12ca3e690aea7e95cc13f9fccee88e..f61043eb7f0ebfe06375d5cdc6f6f25e87945da8 100755 (executable)
@@ -28,6 +28,6 @@ mount -t ext4 /dev/dracut/root /sysroot
 cp -a -t /sysroot /source/*
 umount /sysroot
 lvm lvchange -a n /dev/dracut/root
-echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 sync
 poweroff -f
index 008deb431a1bb180018af6729533961c5e681015..ec4b063d56acfa7ae86fbe5bb86e7299ddec7e59 100755 (executable)
@@ -16,5 +16,5 @@ mount -t ext4 /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_root /root
 cp -a -t /root /source/*
 mkdir -p /root/run
 umount /root
-echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 poweroff -f
index 463c33862de76f660d1fc5461edfe00730ea472b..d7f1370cd6898d7debdaf12ec6ebc0855d9491ad 100755 (executable)
@@ -11,7 +11,7 @@ stty sane
 echo "made it to the rootfs! Powering down."
 while read -r dev _ fstype opts rest || [ -n "$dev" ]; do
     [ "$fstype" != "ext4" ] && continue
-    echo "iscsi-OK $dev $fstype $opts" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+    echo "iscsi-OK $dev $fstype $opts" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
     break
 done < /proc/mounts
 
index dbf242139e12ca3e690aea7e95cc13f9fccee88e..f61043eb7f0ebfe06375d5cdc6f6f25e87945da8 100755 (executable)
@@ -28,6 +28,6 @@ mount -t ext4 /dev/dracut/root /sysroot
 cp -a -t /sysroot /source/*
 umount /sysroot
 lvm lvchange -a n /dev/dracut/root
-echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 sync
 poweroff -f
index 008deb431a1bb180018af6729533961c5e681015..ec4b063d56acfa7ae86fbe5bb86e7299ddec7e59 100755 (executable)
@@ -16,5 +16,5 @@ mount -t ext4 /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_root /root
 cp -a -t /root /source/*
 mkdir -p /root/run
 umount /root
-echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 poweroff -f
index e393d350ebb3d823a56a1876af89ec3e154f09c2..9de7436c4ad32138200548e151016fc6642e0093 100755 (executable)
@@ -9,7 +9,7 @@ exec > /dev/console 2>&1
 while read -r dev fs fstype opts rest || [ -n "$dev" ]; do
     [ "$dev" = "rootfs" ] && continue
     [ "$fs" != "/" ] && continue
-    echo "nbd-OK $fstype $opts" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+    echo "nbd-OK $fstype $opts" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
     echo "nbd-OK $fstype $opts"
     break
 done < /proc/mounts
index a4bc7230e802bd8765a4ac51d018f9c1264a6120..ddcfefe4caa1a1122cd91a6f0392f8e1f0250eaf 100755 (executable)
@@ -20,5 +20,5 @@ umount /root
 {
     echo "dracut-root-block-created"
     echo "ID_FS_UUID=$ID_FS_UUID"
-} | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+} | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 poweroff -f
index f21b33a2b6f7d5eddfbadd99e9a325246b64065a..3d83b70954f0b3872de2f96b222a5d39160f228f 100755 (executable)
@@ -36,6 +36,6 @@ eval "$(udevadm info --query=property --name=/dev/disk/by-id/scsi-0QEMU_QEMU_HAR
 {
     echo "dracut-root-block-created"
     echo "ID_FS_UUID=$ID_FS_UUID"
-} | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+} | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 sync
 poweroff -f
index fb4f618c294b426443b08bd5a1618f35fc215814..b497aca5b12048398ab29928399aaf23e0d68794 100755 (executable)
@@ -21,6 +21,6 @@ umount /root
 {
     echo "dracut-root-block-created"
     echo "ID_FS_UUID=$ID_FS_UUID"
-} | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+} | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 sync
 poweroff -f
index ce2f03435dbc3773fb2a4df7131a81949acf425b..8495913a49064e74933f04418aedb2c7f08a0045 100755 (executable)
@@ -32,7 +32,7 @@ done
 {
     echo "OK"
     echo "$IFACES"
-} | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+} | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 
 getargbool 0 rd.shell && sh -i
 
index 8c7a1131471e188d4aea075b05944058f01b3a4a..ffd9c13ba7b51804a9e9bb7b5d4969644a564e0e 100755 (executable)
@@ -18,6 +18,6 @@ mount -t ext4 /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_root /root
 cp -a -t /root /source/*
 mkdir -p /root/run
 umount /root
-echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 sync
 poweroff -f
index f7ccd181d423c8520bf6b766caba002528683b23..9563dd3466afe61234164e5edb87a484142cc428 100755 (executable)
@@ -17,6 +17,6 @@ mount -t ext4 /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_root /root
 cp -a -t /root /source/*
 mkdir -p /root/run
 umount /root
-echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker
+echo "dracut-root-block-created" | dd oflag=direct,dsync of=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_marker status=none
 sync
 poweroff -f
index 2356ad3a8607f96a6b54900136de5b9a90421956..b664fb08472d7061cb7c264fa98ef38aa96bbc50 100644 (file)
@@ -92,7 +92,7 @@ qemu_add_drive() {
     local bootindex=$6
 
     if [ "${size}" -ne 0 ]; then
-        dd if=/dev/zero of="${file}" bs=1MiB count="${size}"
+        dd if=/dev/zero of="${file}" bs=1MiB count="${size}" status=none
     fi
 
     eval "${2}"'+=(' \
@@ -106,7 +106,7 @@ qemu_add_drive() {
 }
 
 test_marker_reset() {
-    dd if=/dev/zero of="$TESTDIR"/marker.img bs=1MiB count=1
+    dd if=/dev/zero of="$TESTDIR"/marker.img bs=1MiB count=1 status=none
 }
 
 test_marker_check() {