Skip to content

Commit

Permalink
tmt: Don't fail if /dev/nvme* does not exist
Browse files Browse the repository at this point in the history
Robustify the amazon-ec2-utils workaround: Fedora 42 images don't seem
to have /dev/nvme* any more, so don't fail on

> Failed to open the device '/dev/nvme*': No such device
  • Loading branch information
martinpitt committed Feb 8, 2025
1 parent d885390 commit dcdf498
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/browser/browser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ fi
# our tests, and only causes trouble; https://github.com/amazonlinux/amazon-ec2-utils/issues/37
if rpm -q amazon-ec2-utils; then
rpm -e --verbose amazon-ec2-utils
# clean up the symlinks
udevadm trigger /dev/nvme*
# clean up the symlinks, if they exist
udevadm trigger /dev/nvme* || true
fi

# Show critical packages versions
Expand Down

0 comments on commit dcdf498

Please sign in to comment.