From: Frantisek Sumsal Date: Fri, 3 Nov 2023 14:31:52 +0000 (+0100) Subject: test: wait for the nvme device to appear X-Git-Tag: v255-rc1~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12c25609972a64f6525381d5a2db1122a5c993ef;p=thirdparty%2Fsystemd.git test: wait for the nvme device to appear Also, use a /dev/disk/by-id/ symlink to the device, which should be predictable, unlike the /dev/nvmeX stuff. --- diff --git a/test/units/testsuite-84.sh b/test/units/testsuite-84.sh index 954dce2d046..f82b527a722 100755 --- a/test/units/testsuite-84.sh +++ b/test/units/testsuite-84.sh @@ -11,15 +11,16 @@ systemctl start sys-kernel-config.mount dd if=/dev/urandom of=/var/tmp/storagetm.test bs=1024 count=10240 systemd-run -u teststoragetm.service -p Type=notify /usr/lib/systemd/systemd-storagetm /var/tmp/storagetm.test --nqn=quux +NVME_SERIAL="$(