From patchwork Thu Apr 6 05:43:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amir Goldstein X-Patchwork-Id: 9666043 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A74AC602B8 for ; Thu, 6 Apr 2017 05:43:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 997AF284CF for ; Thu, 6 Apr 2017 05:43:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8E9CE284FE; Thu, 6 Apr 2017 05:43:52 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham 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 3714D284CF for ; Thu, 6 Apr 2017 05:43:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755574AbdDFFnv (ORCPT ); Thu, 6 Apr 2017 01:43:51 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:33206 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755332AbdDFFnu (ORCPT ); Thu, 6 Apr 2017 01:43:50 -0400 Received: by mail-wr0-f195.google.com with SMTP id g19so8015993wrb.0; Wed, 05 Apr 2017 22:43:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mfKr55MCIDdGJiLkzgUWGlU0bQ3rQOoHjkJqLS5jeYU=; b=OLzOdrLCqCfZnILBv1YhLyRXRWjRIqOBBZdbq9xjKr4YxCqncQxqsRqdISQRe+Jveu dbOmojN9aCaBx2S5XtW4B+F04gGEEZ1A2xyW/vGHlDe2zUfxenTSYuOergRrgxe02XWG m/QgkNuuO0lwnvSrPCTqHUSe69f1/6bMmpH13+0CqkHJ7ZxBGYYD2ZACqufZIFjxAKq4 96P9gHS9cFKCesJ9hVnJL7i5+qidPtx0W3KSN4BIqMoPs4u5n8wuMI3z7uDvATWBvEJZ Cr36KZMwNlmYmGtZd+qmXa2U3+uCPreQJsoksstH4nmMCI+0v5X2X/SvACF7E227WD1H GsEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mfKr55MCIDdGJiLkzgUWGlU0bQ3rQOoHjkJqLS5jeYU=; b=YGNNIEv6qwZIhAN+xpQ+1BnD6AKoteC5aIiw9BlScscXo+OZlED+GmuFRRFpFQNehx 117392saCaH37Du0N6PyD7/O4Q5Rrsb95aSfq7T6nNgjXWArOIakshamnEDalCnKuFcy IMlCh7I7Ya7TC8NGM64qWRBNpp09tmisTOGIZXH9Z2fXXYr7aBt0aKDlhIpu4FzhEjDy SUGoB+13+xuctlMVSe7yBbFL8KHYxapLHyTbdFajh2oCndum+J0rq5ytV3W1mu7ctyc7 tdOCw6+Q1O3f7cAPEdwF39NzOYDm0j/vzJWhcvkBNAMBIir9ZMrOdxPn9d634D6Fjs5W ZjBA== X-Gm-Message-State: AFeK/H1BxwMkV6hYuOlOG6O/wWw4ImtTVI6iDxwV9OHy9JMF1zh0Gmx084PE6LZOtv+nLw== X-Received: by 10.223.153.18 with SMTP id x18mr5847772wrb.55.1491457429352; Wed, 05 Apr 2017 22:43:49 -0700 (PDT) Received: from amir-VirtualBox.lan (bzq-79-176-107-16.red.bezeqint.net. [79.176.107.16]) by smtp.gmail.com with ESMTPSA id r5sm657181wra.50.2017.04.05.22.43.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Apr 2017 22:43:48 -0700 (PDT) From: Amir Goldstein To: Eryu Guan Cc: Miklos Szeredi , Xiong Zhou , linux-unionfs@vger.kernel.org, fstests@vger.kernel.org Subject: [PATCH v3 2/3] generic/079: use _require_test_program Date: Thu, 6 Apr 2017 08:43:53 +0300 Message-Id: <1491457434-7359-2-git-send-email-amir73il@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1491457434-7359-1-git-send-email-amir73il@gmail.com> References: <1491457434-7359-1-git-send-email-amir73il@gmail.com> Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP use _require_test_program helper and remove unneeded _scratch_unmount from _cleanup. Signed-off-by: Amir Goldstein --- tests/generic/079 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/generic/079 b/tests/generic/079 index 97b4812..c2db6bf 100755 --- a/tests/generic/079 +++ b/tests/generic/079 @@ -37,7 +37,6 @@ _cleanup() cd / echo "*** cleaning up" $timmutable -r $SCRATCH_MNT/$seq - _scratch_unmount } # get standard environment, filters and checks @@ -49,10 +48,9 @@ _supported_fs generic _supported_os Linux _require_chattr ia +_require_test_program "t_immutable" _require_scratch -[ -x $timmutable ] || _notrun "t_immutable was not built for this platform" - # real QA test starts here _scratch_mkfs >/dev/null 2>&1 || _fail "mkfs failed" _scratch_mount || _fail "mount failed"