1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

TEST-83-BTRFS: Skip if root filesystem is not btrfs

This commit is contained in:
Daan De Meyer 2024-04-28 20:58:01 +02:00
parent 37029ce769
commit 191a31fbcf

View File

@ -3,6 +3,13 @@
set -eux
set -o pipefail
FSTYPE="$(stat --file-system --format "%T" /)"
if [[ "$FSTYPE" != "btrfs" ]]; then
echo "Root filesystem is $FSTYPE instead of btrfs, skipping"
exit 77
fi
TEST_BTRFS_OFFSET=/usr/lib/systemd/tests/unit-tests/manual/test-btrfs-physical-offset
SWAPFILE=/var/tmp/swapfile