projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d760e2a
)
TEST-64-UDEV-STORAGE: Skip btrfs_basic if btrfs module is not available
author
Daan De Meyer
<daan.j.demeyer@gmail.com>
Mon, 13 May 2024 14:58:23 +0000
(16:58 +0200)
committer
Daan De Meyer
<daan.j.demeyer@gmail.com>
Tue, 14 May 2024 10:43:28 +0000
(12:43 +0200)
test/units/TEST-64-UDEV-STORAGE.sh
patch
|
blob
|
history
diff --git
a/test/units/TEST-64-UDEV-STORAGE.sh
b/test/units/TEST-64-UDEV-STORAGE.sh
index aed322fe85f8978e7103397dccc85c0cc7f42793..13e23af1737f4832b3008f756cbf18c99441ddda 100755
(executable)
--- a/
test/units/TEST-64-UDEV-STORAGE.sh
+++ b/
test/units/TEST-64-UDEV-STORAGE.sh
@@
-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"