test: install modinfo to test image
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 18 May 2024 19:54:25 +0000 (04:54 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 18 May 2024 20:08:31 +0000 (05:08 +0900)
commit2569e790f6352797f8e326ed472f49479791a2ac
tree4365823c69254efa562cfb6d92469a301fe6fbf9
parent762412f2bb208e48d1361f1178ac6f0f5b65912d
test: install modinfo to test image

Follow-up for 6c2d47d6d3ad25ffd7527c7f4de31457ee1b25d8.

Fixes the following unexpected skip:
```
[    6.163670] TEST-64-UDEV-STORAGE.sh[596]: + modinfo btrfs
[    6.164102] TEST-64-UDEV-STORAGE.sh[726]: /usr/lib/systemd/tests/testdata/units/TEST-64-UDEV-STORAGE.sh: line 726: modinfo: command not found
[    6.164683] TEST-64-UDEV-STORAGE.sh[727]: + echo 'This test requires the btrfs kernel module but it is not installed, skipping the test'
[    6.165069] TEST-64-UDEV-STORAGE.sh[728]: + tee --append /skipped
[    6.166801] TEST-64-UDEV-STORAGE.sh[728]: This test requires the btrfs kernel module but it is not installed, skipping the test
[    6.167177] TEST-64-UDEV-STORAGE.sh[596]: + exit 77
```
test/test-functions