mirror of
https://github.com/systemd/systemd
synced 2024-07-22 18:55:10 +00:00
test: sort the features alphabetically
This commit is contained in:
parent
41a978fdb1
commit
5f25c30ee8
|
@ -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'"
|
||||
|
|
Loading…
Reference in a new issue