TEST-17-UDEV: Don't hardcode root device name
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 1 Nov 2024 20:27:08 +0000 (21:27 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 13 Nov 2024 19:48:10 +0000 (19:48 +0000)
commitbeca1de2efe7a749bfe9b35a63e6916b3a5966aa
tree96887521304532cf758662f8398efcb104ab4e49
parentc413c43c12612bd4f01159eddf568d8e45cb1739
TEST-17-UDEV: Don't hardcode root device name

There's no guarantee the root device will be /dev/sda, so let's use
bootctl to get the actual path instead of harcoding it.

(cherry picked from commit 29a8e71d9c0858aef502f091a0ef58d5569b1c70)
test/units/TEST-17-UDEV.01.sh
test/units/TEST-17-UDEV.06.sh