From patchwork Fri Apr 5 14:53:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Henriques X-Patchwork-Id: 10887535 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C8A94139A for ; Fri, 5 Apr 2019 14:53:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6A7F28A7C for ; Fri, 5 Apr 2019 14:53:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AAB4828A85; Fri, 5 Apr 2019 14:53:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7256328A7E for ; Fri, 5 Apr 2019 14:53:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729704AbfDEOxJ (ORCPT ); Fri, 5 Apr 2019 10:53:09 -0400 Received: from mx2.suse.de ([195.135.220.15]:57960 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726594AbfDEOxJ (ORCPT ); Fri, 5 Apr 2019 10:53:09 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 58DAAB628; Fri, 5 Apr 2019 14:53:08 +0000 (UTC) From: Luis Henriques To: fstests@vger.kernel.org Cc: "Yan, Zheng" , Dave Chinner , ceph-devel@vger.kernel.org, Luis Henriques Subject: [PATCH v2 0/2] Initial CephFS tests Date: Fri, 5 Apr 2019 15:53:03 +0100 Message-Id: <20190405145305.9574-1-lhenriques@suse.com> MIME-Version: 1.0 Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi all, This is the first attempt to (finally!) add CephFS specific tests to fstests. Hopefully, more will follow once an initial set is accepted -- I do have a few more that could easily be added, and I'm sure that in the future more CephFS-specific tests can continue to be developed. This test suite has already proved to be quite useful in finding bugs in this filesystem; adding specific tests for it is just the next logic step. For now, just two simple tests to do some basic checks on quotas features. Cheers, --- Luis Changes since v1 (RFC): Both tests refactored: - use 'workdir' instead of 'testdir' and initialize it to $seq - don't remove $workdir on cleanup() - use output to validate test results instead of _fail Luis Henriques (2): ceph: test basic ceph.quota.max_files quota ceph: test basic ceph.quota.max_bytes quota tests/ceph/001 | 86 ++++++++++++++++++++++++++++++ tests/ceph/001.out | 9 ++++ tests/ceph/002 | 125 ++++++++++++++++++++++++++++++++++++++++++++ tests/ceph/002.out | 64 +++++++++++++++++++++++ tests/ceph/Makefile | 20 +++++++ tests/ceph/group | 2 + 6 files changed, 306 insertions(+) create mode 100755 tests/ceph/001 create mode 100644 tests/ceph/001.out create mode 100755 tests/ceph/002 create mode 100644 tests/ceph/002.out create mode 100644 tests/ceph/Makefile create mode 100644 tests/ceph/group