btrfs-progs: tests: disable some mkfs/010 testcases inside travis

Node sizes larger than 16k will fail due to enospc in the mount test.
This is likely caused by the kernel. Keep the condition only local to
travis so any other testing environment could see the failure
eventually.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2018-01-30 15:46:05 +01:00
parent 30bce43dfd
commit cda595afa3

View File

@ -39,6 +39,19 @@ do_test -n 16k -m single -d dup
do_test -n 16k -m dup -d single
do_test -n 16k -m dup -d dup
# Temporary: disable the following tests as they fail inside travis but run
# fine otherwise. This is probably caused by kernel version, 4.4 fails and 4.14
# is ok.
#
# root_helper mount -t btrfs -o loop /home/travis/build/kdave/btrfs-progs/tests/test.img /home/travis/build/kdave/btrfs-progs/tests/mnt
# mount: No space left on device
# failed: root_helper mount -t btrfs -o loop /home/travis/build/kdave/btrfs-progs/tests/test.img /home/travis/build/kdave/btrfs-progs/tests/mnt
# test failed for case 010-minimal-size
#
if [ "$TRAVIS" = true ]; then
exit 0
fi
do_test -n 32k -m single -d single
do_test -n 32k -m single -d dup
do_test -n 32k -m dup -d single