projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41a978f
)
test: sort the features alphabetically
author
Frantisek Sumsal
<frantisek@sumsal.cz>
Tue, 21 Sep 2021 18:56:24 +0000
(20:56 +0200)
committer
Frantisek Sumsal
<frantisek@sumsal.cz>
Wed, 29 Sep 2021 08:05:21 +0000
(10:05 +0200)
test/TEST-64-UDEV-STORAGE/test.sh
patch
|
blob
|
history
diff --git
a/test/TEST-64-UDEV-STORAGE/test.sh
b/test/TEST-64-UDEV-STORAGE/test.sh
index 0c6e9dfa27ff2aeb0b528713fb2cb08d75390d4e..c2db838b177140486da0fbb5e7625cc1ffc43598 100755
(executable)
--- a/
test/TEST-64-UDEV-STORAGE/test.sh
+++ b/
test/TEST-64-UDEV-STORAGE/test.sh
@@
-28,14
+28,14
@@
_host_has_feature() {(
set -e
case "${1:?}" in
-
multipath
)
-
command -v multipath && command -v multipathd
|| return $?
+
btrfs
)
+
modprobe -nv btrfs && command -v mkfs.btrfs && command -v btrfs
|| return $?
;;
lvm)
command -v lvm || return $?
;;
-
btrfs
)
-
modprobe -nv btrfs && command -v mkfs.btrfs && command -v btrfs
|| return $?
+
multipath
)
+
command -v multipath && command -v multipathd
|| return $?
;;
*)
echo >&2 "ERROR: Unknown feature '$1'"