]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
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 f9708319b0eed2990ba7a4b4ea48fb113498c8ff..20f120a93055133503c73eb8965c8e6815dd8139 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