From patchwork Thu May 25 19:25:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 9749031 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 06C1760209 for ; Thu, 25 May 2017 19:27:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA2B9283BA for ; Thu, 25 May 2017 19:27:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DF092283BE; Thu, 25 May 2017 19:27:17 +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 8DB9D283BA for ; Thu, 25 May 2017 19:27:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1165398AbdEYT1Q (ORCPT ); Thu, 25 May 2017 15:27:16 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:34275 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1036608AbdEYT1D (ORCPT ); Thu, 25 May 2017 15:27:03 -0400 Received: by mail-pf0-f194.google.com with SMTP id w69so41051385pfk.1 for ; Thu, 25 May 2017 12:27:02 -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=KjsW0K42WXkucFAACE7H5ExCBICPW/plZMNZnQsfVEI=; b=T9bxVr4koVw/ISGdeolbxpVp4qUWG+eBEKNCtPWOV82lI6gDOH/0iUHN1JXZe1QNOm Ny/CG+lDFk2G1l4oUc6cXs81wZSkAmOV6w+dYmyyJm4Clt0OVHq/umK/DiKPeQK0ABc2 w5hdgTFWF/KYCSQMDDX4zBqa9T74rhVe+e/Cm1XtcUM6bE3+y0YQuemP5cNNvXp6hyt0 kfD2MAR3aYW80x+mMmtnzHxf00qS2PbXSpNOPAYwaLElVY51BKYMNtVhwcqTZKNFnGRC lbLFBpiV7sfbVVFTLkzWEaMWcEbgNjbmameFxtqacIf1KpjRUe5uWDRv/4DOpEvYjbiM wzUw== 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=KjsW0K42WXkucFAACE7H5ExCBICPW/plZMNZnQsfVEI=; b=VhqlAcrTHADjbH+D6ep+xcDZ7eSIT8zG8xKkPK2A+Em2SKw+dytPttQjCpIybf47NH KO97sYwE+D4w6G6Gbtx0zpssehswV4BISsIbLlc1x6DtT7PdaWrpcPJjEgp+42xk2SWv /FXiy7EYyzYATJCOU/vYyR3FfwKwj0bmbeEZpzbjUpWZA8yLSV8Iki6xS8aj1zWUQlOw 17um3JbIGxWqP7jLUc6UXQ1wVx+6U3Yf5bYi/ciWb/DevOH5j3VnBiOa4MoFZHY8KtY4 D9otKBv3dlMXr3rRFa0Oni6k1xrZGHL422X4aflbiJ5o1woy6hjKy3eMBoGGOngpTv2/ aPOw== X-Gm-Message-State: AODbwcBIJQjL3zP/ahHnUrDEOKI6vwkP1zlmIWl48wsLthRQk8vL/bRx yWvjkbpL/E3S0A== X-Received: by 10.99.126.67 with SMTP id o3mr46884183pgn.36.1495740421860; Thu, 25 May 2017 12:27:01 -0700 (PDT) Received: from ebiggers-linuxstation.kir.corp.google.com ([100.66.174.81]) by smtp.gmail.com with ESMTPSA id f86sm14617917pfj.128.2017.05.25.12.27.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 May 2017 12:27:01 -0700 (PDT) From: Eric Biggers To: Theodore Ts'o Cc: fstests@vger.kernel.org, Eric Biggers Subject: [PATCH 3/7] get-all: fail if optional repositories have been deconfigured Date: Thu, 25 May 2017 12:25:45 -0700 Message-Id: <20170525192549.138518-4-ebiggers3@gmail.com> X-Mailer: git-send-email 2.13.0.219.gdb65acc882-goog In-Reply-To: <20170525192549.138518-1-ebiggers3@gmail.com> References: <20170525192549.138518-1-ebiggers3@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 From: Eric Biggers If an optional repository is enabled and then later disabled, require that the corresponding directory manually be removed; otherwise, it would still be included in the build. Signed-off-by: Eric Biggers --- get-all | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/get-all b/get-all index a0f0d05..fa27229 100755 --- a/get-all +++ b/get-all @@ -81,6 +81,15 @@ setup_repo() fi fi + if [ -z "$repo_url" ] && ! $required; then + cat 1>&2 <