mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
test: check if 'btrfs filesystem' supports 'mkswapfile'
Instead of deny-listing the test on Ubuntu CI, so it gets enabled automagically once btrfs-progs is updated to a newer version there.
This commit is contained in:
parent
a311d4dd30
commit
6743066875
@ -17,6 +17,11 @@ if ! command -v btrfs >/dev/null || ! command -v mkfs.btrfs >/dev/null; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if ! btrfs filesystem mkswapfile --help >/dev/null; then
|
||||
echo "TEST: $TEST_DESCRIPTION [SKIPPED]: 'btrfs filesystem' doesn't support 'mkswapfile' subcommand" >&2
|
||||
exit 0
|
||||
fi
|
||||
|
||||
test_append_files() {
|
||||
install_btrfs
|
||||
image_install sync
|
||||
|
Loading…
Reference in New Issue
Block a user