From patchwork Wed Mar 18 20:21:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcos Paulo de Souza X-Patchwork-Id: 11445959 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D84DA1392 for ; Wed, 18 Mar 2020 20:40:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B81B32076F for ; Wed, 18 Mar 2020 20:40:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=mpdesouza.com header.i=@mpdesouza.com header.b="t+TwnLtl" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726810AbgCRUkY (ORCPT ); Wed, 18 Mar 2020 16:40:24 -0400 Received: from gateway24.websitewelcome.com ([192.185.51.196]:47027 "EHLO gateway24.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726647AbgCRUkY (ORCPT ); Wed, 18 Mar 2020 16:40:24 -0400 Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway24.websitewelcome.com (Postfix) with ESMTP id CA4B12E5C6 for ; Wed, 18 Mar 2020 15:19:00 -0500 (CDT) Received: from br540.hostgator.com.br ([108.179.252.180]) by cmsmtp with SMTP id Ef9YjFOhpAGTXEf9YjfWvx; Wed, 18 Mar 2020 15:19:00 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mpdesouza.com; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZaxzvBDJkfibJLdkSzcz8GDD/BiBpFGh8TbALYTtL00=; b=t+TwnLtl5PfHCA/yV2DCewK9Lj WSFfvv5sr6PF9/OwR31+4G3PUzaqyGl2ItDsJEKB3abSXpqwt2voy8dbvR4xPICmeGxKrdNZdiKrE fo5ps/B+KKRD3UO+wbQKZbT/AbAAYgKbYCswiN32Jgs/8Pd14GN5dnRt1gsGL+vETDwxVaSMTdBcy sRaFeRR/t/HhY/Tf8OqucDYtSN4OVeO2d9HE0UHKPyl2bUBUvdmhZDwG3HJ4YQAGxR+MITM0d1MKU i8wzoQdnNivSSJOYE9A7W0Wv6pyqXguUKoNa28xcLBY2ATtqxRJEY6cYkaEBteUVuj98kByTqlyWO UgFfigDg==; Received: from [191.249.66.103] (port=50308 helo=hephaestus.prv.suse.net) by br540.hostgator.com.br with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1jEf9Y-000yAj-6S; Wed, 18 Mar 2020 17:19:00 -0300 From: Marcos Paulo de Souza To: dsterba@suse.com, wqu@suse.com, linux-btrfs@vger.kernel.org Subject: [PATCH v4 10/11] btrfs-progs: test/mkfs: Add test case for -Q|--quota option Date: Wed, 18 Mar 2020 17:21:47 -0300 Message-Id: <20200318202148.14828-11-marcos@mpdesouza.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200318202148.14828-1-marcos@mpdesouza.com> References: <20200318202148.14828-1-marcos@mpdesouza.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - br540.hostgator.com.br X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - mpdesouza.com X-BWhitelist: no X-Source-IP: 191.249.66.103 X-Source-L: No X-Exim-ID: 1jEf9Y-000yAj-6S X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (hephaestus.prv.suse.net) [191.249.66.103]:50308 X-Source-Auth: marcos@mpdesouza.com X-Email-Count: 35 X-Source-Cap: bXBkZXNvNTM7bXBkZXNvNTM7YnI1NDAuaG9zdGdhdG9yLmNvbS5icg== X-Local-Domain: yes Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org From: Qu Wenruo 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 --- tests/mkfs-tests/001-basic-profiles/test.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/mkfs-tests/001-basic-profiles/test.sh b/tests/mkfs-tests/001-basic-profiles/test.sh index 4b6c2f42..c273f1df 100755 --- a/tests/mkfs-tests/001-basic-profiles/test.sh +++ b/tests/mkfs-tests/001-basic-profiles/test.sh @@ -47,6 +47,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 -Q +test_mkfs_single -Q -d single -m single +test_mkfs_single -Q -d single -m single --mixed +test_mkfs_single -Q -d single -m dup +test_mkfs_single -Q -d dup -m single +test_mkfs_single -Q -d dup -m dup +test_mkfs_single -Q -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