mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-18 02:36:56 +00:00
As we don't know what's the TEST_DEV like, use the explicit mkfs limit. Signed-off-by: David Sterba <dsterba@suse.com>
13 lines
354 B
Bash
Executable File
13 lines
354 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Verify that we do not force mixed block groups on small volumes anymore
|
|
|
|
source $TOP/tests/common
|
|
|
|
check_prereq mkfs.btrfs
|
|
|
|
setup_root_helper
|
|
|
|
mixed=$(run_check_stdout "$TOP/mkfs.btrfs" -b 512M -n 64k -f "$TEST_DEV" | egrep 'Data|Metadata')
|
|
echo "$mixed" | grep -q -v 'Data+Metadata:' || _fail "unexpected: created a mixed-bg filesystem"
|