btrfs-progs/tests/mkfs-tests/003-mixed-with-wrong-nodesize/test.sh
David Sterba cb10f56cb6 btrfs-progs: tests: add 003-mixed-with-wrong-nodesize
Mixed mode needs equal sectorsize and nodesize. This was fixed by

 "Btrfs-progs: Prevent creation of filesystem with 'mixed bgs' and
  having differing sectorsize and nodesize"

Signed-off-by: David Sterba <dsterba@suse.com>
2015-11-02 09:35:08 +01:00

13 lines
226 B
Bash
Executable File

#!/bin/bash
#
# Mixed mode needs equal sectorsize and nodesize
source $TOP/tests/common
check_prereq mkfs.btrfs
run_check truncate -s 512M $IMAGE
run_mayfail $TOP/mkfs.btrfs -f -M -s 4096 -n 16384 "$IMAGE" && _fail
exit 0