test: read from the right device
authorDavid Tardon <dtardon@redhat.com>
Wed, 15 Nov 2023 07:15:59 +0000 (08:15 +0100)
committerDavid Tardon <dtardon@redhat.com>
Thu, 16 Nov 2023 09:16:11 +0000 (10:16 +0100)
test/units/testsuite-17.10.sh

index f970831..20f120a 100755 (executable)
@@ -25,7 +25,7 @@ netdev=dummy17.10
 ip link add $netdev type dummy
 
 blk="$(mktemp)"
-dd if=/dev/null of="$blk" bs=1M count=1
+dd if=/dev/zero of="$blk" bs=1M count=1
 loopdev="$(losetup --show -f "$blk")"
 
 udevadm -h