TEST-64-UDEV-STORAGE: Skip btrfs_basic if btrfs module is not available

This commit is contained in:
Daan De Meyer
2024-05-14 12:43:28 +02:00
parent d760e2a8c3
commit 6c2d47d6d3
+5
View File
@@ -717,6 +717,11 @@ testcase_btrfs_basic() {
/dev/disk/by-id/scsi-0systemd_foobar_deadbeefbtrfs{0..3}
)
if ! modinfo btrfs; then
echo "This test requires the btrfs kernel module but it is not installed, skipping the test" | tee --append /skipped
exit 77
fi
ls -l "${devices[@]}"
echo "Single device: default settings"