summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2023-11-15 08:15:59 +0100
committerDavid Tardon <dtardon@redhat.com>2023-11-16 10:16:11 +0100
commit08d5c74a015a074e742a05f0081dfd7f4ab2f503 (patch)
tree42cc189a88119eef18013ed33fa012017de05f0d
parentMerge pull request #30043 from mrc0mmand/more-assert_return (diff)
downloadsystemd-08d5c74a015a074e742a05f0081dfd7f4ab2f503.tar.xz
systemd-08d5c74a015a074e742a05f0081dfd7f4ab2f503.zip
test: read from the right device
-rwxr-xr-xtest/units/testsuite-17.10.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/testsuite-17.10.sh b/test/units/testsuite-17.10.sh
index f9708319b0..20f120a930 100755
--- a/test/units/testsuite-17.10.sh
+++ b/test/units/testsuite-17.10.sh
@@ -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