mirror of
https://github.com/systemd/systemd
synced 2024-07-22 18:55:10 +00: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
|
exit 0
|
||||||
fi
|
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() {
|
test_append_files() {
|
||||||
install_btrfs
|
install_btrfs
|
||||||
image_install sync
|
image_install sync
|
||||||
|
|
Loading…
Reference in a new issue