]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: sort the features alphabetically
authorFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 21 Sep 2021 18:56:24 +0000 (20:56 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 29 Sep 2021 08:05:21 +0000 (10:05 +0200)
test/TEST-64-UDEV-STORAGE/test.sh

index 0c6e9dfa27ff2aeb0b528713fb2cb08d75390d4e..c2db838b177140486da0fbb5e7625cc1ffc43598 100755 (executable)
@@ -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'"