From 12c25609972a64f6525381d5a2db1122a5c993ef Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Fri, 3 Nov 2023 15:31:52 +0100 Subject: 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. --- test/units/testsuite-84.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/units/testsuite-84.sh b/test/units/testsuite-84.sh index 954dce2d04..f82b527a72 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="$(