diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2024-02-14 10:36:55 +0100 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2024-02-17 12:49:44 +0100 |
commit | 7eb7e3ec4f5dbc13ee729557e1544527f3101187 (patch) | |
tree | 471dcbac14c899c8f8c0a7aba0ae47722f06cee1 /test/test-functions | |
parent | Merge pull request #31367 from yuwata/cgroup-runtime-fix (diff) | |
download | systemd-7eb7e3ec4f5dbc13ee729557e1544527f3101187.tar.xz systemd-7eb7e3ec4f5dbc13ee729557e1544527f3101187.zip |
test: use btrfs by default on Arch as well
Diffstat (limited to 'test/test-functions')
-rw-r--r-- | test/test-functions | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test-functions b/test/test-functions index abaa86792b..3c12d05495 100644 --- a/test/test-functions +++ b/test/test-functions @@ -47,9 +47,13 @@ KERNEL_VER="${KERNEL_VER-$(uname -r)}" QEMU_TIMEOUT="${QEMU_TIMEOUT:-1800}" NSPAWN_TIMEOUT="${NSPAWN_TIMEOUT:-1800}" TIMED_OUT= # will be 1 after run_* if *_TIMEOUT is set and test timed out -get_bool "$LOOKS_LIKE_SUSE" && FSTYPE="${FSTYPE:-btrfs}" || FSTYPE="${FSTYPE:-ext4}" UNIFIED_CGROUP_HIERARCHY="${UNIFIED_CGROUP_HIERARCHY:-default}" EFI_MOUNT="${EFI_MOUNT:-$(bootctl -x 2>/dev/null || echo /boot)}" +if get_bool "$LOOKS_LIKE_SUSE" || get_bool "$LOOKS_LIKE_ARCH"; then + FSTYPE="${FSTYPE:-btrfs}" +else + FSTYPE="${FSTYPE:-ext4}" +fi # Note that defining a different IMAGE_NAME in a test setup script will only result # in default.img being copied and renamed. It can then be extended by defining # a test_append_files() function. The $1 parameter will be the root directory. |