From: Luca Boccassi Date: Mon, 31 Mar 2025 14:44:11 +0000 (+0100) Subject: test: pass verbose option to nvme-cli X-Git-Tag: v256.13~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3747d200cc187a3365ef8b875b7f45cf6a5023d5;p=thirdparty%2Fsystemd.git test: pass verbose option to nvme-cli 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 (cherry picked from commit ebc0514a6507d51e536b269e30a036a7992beeb7) (cherry picked from commit b87f618a30cb664326d2211d8dd7b30a442318b4) --- diff --git a/test/units/TEST-84-STORAGETM.sh b/test/units/TEST-84-STORAGETM.sh index c5cb8989020..89de1131860 100755 --- a/test/units/TEST-84-STORAGETM.sh +++ b/test/units/TEST-84-STORAGETM.sh @@ -22,7 +22,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 -