btrfs-progs: tests: mkfs/008 mkfs with force
authorDavid Sterba <dsterba@suse.com>
Mon, 27 Nov 2017 22:50:45 +0000 (23:50 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 3 Jan 2018 16:09:54 +0000 (17:09 +0100)
With extended tests in the following patch a file based filesystem image
also needs -f, otherwise it will fail.

Signed-off-by: David Sterba <dsterba@suse.com>
tests/mkfs-tests/008-secorsize-nodesize-combination/test.sh

index 151e7b7..955cd2b 100755 (executable)
@@ -19,7 +19,7 @@ do_test()
 {
        sectorsize=$1
        nodesize=$2
-       run_mayfail $TOP/mkfs.btrfs -O $features -n $nodesize -s $sectorsize \
+       run_mayfail $TOP/mkfs.btrfs -f -O $features -n $nodesize -s $sectorsize \
                $TEST_DEV
        ret=$?
        if [ $ret == 0 ]; then