]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: pass verbose option to nvme-cli
authorLuca Boccassi <luca.boccassi@gmail.com>
Mon, 31 Mar 2025 14:44:11 +0000 (15:44 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 31 Mar 2025 16:22:30 +0000 (17:22 +0100)
When the test fails due to nvme-cli/kernel issues it's hard to report it
upstream as there's not enough details, add verbose flags

test/units/TEST-84-STORAGETM.sh

index 0020fad92aa35056de70ee32828b83b23692e7f7..db281963b26dd033e26958432f0dc25cd668e408 100755 (executable)
@@ -24,7 +24,7 @@ NVME_UUID="$(cat /proc/sys/kernel/random/uuid)"
 systemd-run -u teststoragetm.service -p Type=notify -p "Environment=SYSTEMD_NVME_UUID=${NVME_UUID:?}" /usr/lib/systemd/systemd-storagetm /var/tmp/storagetm.test --nqn=quux
 NVME_DEVICE="/dev/disk/by-id/nvme-uuid.${NVME_UUID:?}"
 
-nvme connect-all -t tcp -a 127.0.0.1 -s 16858 --hostid="$(cat /proc/sys/kernel/random/uuid)"
+nvme connect-all -vv -t tcp -a 127.0.0.1 -s 16858 --hostid="$(cat /proc/sys/kernel/random/uuid)"
 udevadm wait --settle "$NVME_DEVICE"
 
 dd if="$NVME_DEVICE" bs=1024 | cmp /var/tmp/storagetm.test -