btrfs-progs/tests/mkfs-tests/003-mixed-with-wrong-nodesize/test.sh
David Sterba d4eb5a77d7 btrfs-progs: tests: mkfs/002 and 003: use TEST_DEV instead of IMAGE
As we don't know what's the TEST_DEV like, use the explicit mkfs limit.

Signed-off-by: David Sterba <dsterba@suse.com>
2017-03-16 17:02:44 +01:00

12 lines
205 B
Bash
Executable File

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