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>
do_test -n 16k -m dup -d single
do_test -n 16k -m dup -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
do_test -n 32k -m single -d single
do_test -n 32k -m single -d dup
do_test -n 32k -m dup -d single