summaryrefslogtreecommitdiff
path: root/tests/fsck-tests/023-qgroup-stack-overflow/test.sh
blob: ebb07f36548e71c50abd81215be37d7051053c95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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