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:
parent
37029ce769
commit
191a31fbcf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user