diff mbox

[8/8] btrfs-progs: test/mkfs: Add test case for --enable-quota option

Message ID 20171027072936.4697-9-wqu@suse.com (mailing list archive)
State New, archived
Headers show

Commit Message

Qu Wenruo Oct. 27, 2017, 7:29 a.m. UTC
Only test if btrfs check (which will check qgroup by default) and kernel
mount success.

Comprehensive qgroup test cases still belongs to fstests.

Signed-off-by: Qu Wenruo <wqu@suse.com>
---
 tests/mkfs-tests/001-basic-profiles/test.sh | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff mbox

Patch

diff --git a/tests/mkfs-tests/001-basic-profiles/test.sh b/tests/mkfs-tests/001-basic-profiles/test.sh
index 854ee0072170..a8ef01627b20 100755
--- a/tests/mkfs-tests/001-basic-profiles/test.sh
+++ b/tests/mkfs-tests/001-basic-profiles/test.sh
@@ -48,6 +48,16 @@  test_mkfs_single  -d  dup     -m  single
 test_mkfs_single  -d  dup     -m  dup
 test_mkfs_single  -d  dup     -m  dup     --mixed
 
+test_mkfs_single --enable-quota
+test_mkfs_single --enable-quota -d  single  -m  single
+test_mkfs_single --enable-quota -d  single  -m  single  --mixed
+test_mkfs_single --enable-quota -d  single  -m  dup
+test_mkfs_single --enable-quota -d  dup     -m  single
+test_mkfs_single --enable-quota -d  dup     -m  dup
+test_mkfs_single --enable-quota -d  dup     -m  dup     --mixed
+
+# Profile doesn't really affect quota, skip them to save some time
+
 test_mkfs_multi
 test_mkfs_multi   -d  single  -m  single
 test_mkfs_multi   -d  single  -m  single  --mixed