summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-10-16 03:05:46 +0200
committerGitHub <noreply@github.com>2024-10-16 03:05:46 +0200
commit548360817e6a08e73175225d2961ea4ba96e9e1a (patch)
treed244d80bef6fedd84dcdda79c0754943a207a6f9 /test
parentMerge pull request #34781 from poettering/write-string-rename-full (diff)
parentTEST-64-UDEV-STORAGE: test for absence of obsolete NVMe symlink (diff)
downloadsystemd-548360817e6a08e73175225d2961ea4ba96e9e1a.tar.xz
systemd-548360817e6a08e73175225d2961ea4ba96e9e1a.zip
Merge pull request #34482 from bgurney-rh/alt-nvme-multins-symlink-fix
Pin obsolete NVMe symlinks to namespace 1
Diffstat (limited to 'test')
-rwxr-xr-xtest/units/TEST-64-UDEV-STORAGE.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/TEST-64-UDEV-STORAGE.sh b/test/units/TEST-64-UDEV-STORAGE.sh
index 431b5305e4..318e98ce47 100755
--- a/test/units/TEST-64-UDEV-STORAGE.sh
+++ b/test/units/TEST-64-UDEV-STORAGE.sh
@@ -219,6 +219,7 @@ testcase_nvme_basic() {
for i in "${expected_symlinks[@]}"; do
udevadm wait --settle --timeout=30 "$i"
done
+ test ! -e /dev/disk/by-id/nvme-QEMU_NVMe_Ctrl_deadbeef
lsblk --noheadings | grep "^nvme"
[[ "$(lsblk --noheadings | grep -c "^nvme")" -ge 20 ]]
@@ -227,7 +228,6 @@ testcase_nvme_basic() {
testcase_nvme_subsystem() {
local expected_symlinks=(
# Controller(s)
- /dev/disk/by-id/nvme-QEMU_NVMe_Ctrl_deadbeef
/dev/disk/by-id/nvme-QEMU_NVMe_Ctrl_deadbeef_16
/dev/disk/by-id/nvme-QEMU_NVMe_Ctrl_deadbeef_17
# Shared namespaces