btrfs-progs: tests: check btrfs qgroup parent-child relation output
commitf841497b6085748262f10a96585836cd69070ba7
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>
Tue, 8 May 2018 05:48:03 +0000 (8 13:48 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 7 Jun 2018 14:37:33 +0000 (7 16:37 +0200)
tree633464166f7bfe63bd61e25a880666728f2d60af
parent8eb7e9d43aa96d599a264db748043fa9b9a16f30
btrfs-progs: tests: check btrfs qgroup parent-child relation output

Since commit aaf2dac5ef37 ("btrfs-progs: qgroup: split update_qgroup to
reduce arguments") cause qgroup show to output the wrong qgroup
parent-child relationship, in addition to fixing the problem, a test case
is needed to prevent the similar problem in the future.

Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
tests/misc-tests/031-qgroup-parent-child-relation/test.sh [new file with mode: 0755]