btrfs-progs/tests/fsck-tests/023-qgroup-stack-overflow/test.sh
David Sterba d4ce61f7a2 btrfs-progs: tests: add fallback to current directory for check_all_images
Reported-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2016-11-23 11:07:05 +01:00

17 lines
346 B
Bash
Executable file

#!/bin/bash
#
# Check whether btrfs check quota verify will cause stack overflow.
# This is caused by lack of handling of tree reloc tree.
# Fixed by patch:
# btrfs-progs: Fix stack overflow for checking qgroup on tree reloc tree
source $TOP/tests/common
check_prereq btrfs
check_image()
{
run_check $TOP/btrfs check "$1"
}
check_all_images