btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests
[platform/upstream/btrfs-progs.git] / tests / fsck-tests / 023-qgroup-stack-overflow / test.sh
1 #!/bin/bash
2 #
3 # Check whether btrfs check quota verify will cause stack overflow.
4 # This is caused by lack of handling of tree reloc tree.
5 # Fixed by patch:
6 # btrfs-progs: Fix stack overflow for checking qgroup on tree reloc tree
7
8 source "$TEST_TOP/common"
9
10 check_prereq btrfs
11
12 check_image()
13 {
14         run_check "$TOP/btrfs" check "$1"
15 }
16
17 check_all_images