From patchwork Mon Aug 27 18:39:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amir Goldstein X-Patchwork-Id: 10577469 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 B15B8139B for ; Mon, 27 Aug 2018 18:37:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D94B2A019 for ; Mon, 27 Aug 2018 18:37:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 91DC42A01C; Mon, 27 Aug 2018 18:37: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=-4.7 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, RCVD_IN_SBL_CSS 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 39BE32A019 for ; Mon, 27 Aug 2018 18:37:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726939AbeH0WZB (ORCPT ); Mon, 27 Aug 2018 18:25:01 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34676 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726826AbeH0WZA (ORCPT ); Mon, 27 Aug 2018 18:25:00 -0400 Received: by mail-wm0-f65.google.com with SMTP id m199-v6so10431857wma.1; Mon, 27 Aug 2018 11:37:15 -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; bh=m9dNNtWSX5ihakK0ILtLy2igH4ZH9ymWMDeugvPt8jM=; b=Sj6C+f5CVSu19AB6k2YSHYU1WoYMwX0CpzdhbGHB8JmM+iPLgwjdSL/gqiQDoxcw7d iRay9RHaCupYpPywUAVV6faSdncpuQnaTetM4qkY6Ak/3IjcOEeUIfTVK9hNBCP6zwdz xLY9V//Oavfpj2zvP+JJnHu3AQY67aRTANe/vferKTy93qsK3wgaR5QmWcOGsgRaRjQI UNiXDvUAjYdbCWlRhAIYkUb3pd527ifEF2xF9r7DFO82adx9js/1aDLNYy8U3nYKrkIq cEGeGCtzVs3Rqc/Th3PP4w/VWLqy2LaieA0AFoPup87k4DolmWVfXaNBI5DBnBaREu3J cbPg== 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; bh=m9dNNtWSX5ihakK0ILtLy2igH4ZH9ymWMDeugvPt8jM=; b=jjLL38zOp3uupkCtwlXWu6ASwi4oM7gsFJVtgmqTfjXkdP1HQ6iTG30oLXykD8ZWoo buNHzS9HFtQWoAgZZ4i7qjRafDM7d0tU/3sPuTFvkAVSJSX2Sw0rBVQemlqp/dFwOkGI nW2MDKEcf21QIinmKkPn7AAjDrUCC3iMPp4fb6djHyLIcLIWWfuAPADzJFtBebJgu5Fv RwUEjNF7m6qQRplfgxcfSmZLHAsv2H2U02Nuy9AHzBwpJoNaSf2YOEUQqaA8jn9cpXSg K7QUGbSBGKSJanO8nRUk6vku/Kh0aw2QatIV1R4OrFQPlYkgESmD4S4VZ2BH1XnEjyoB 3SMw== X-Gm-Message-State: APzg51CpkbQ1tCaL2bsG9F1o1xE7dTf826oTP72b711QmuGbctYxCMFx VtiyMmTXXB955Q1aRA4YGw0= X-Google-Smtp-Source: ANB0VdYoyhmB8bFwaKeaIWYy7bhcE5O5fhLuFCMi9Pe7L7sr2dueyiBHLDs9hUIynnIdQS1D1rwAOw== X-Received: by 2002:a1c:88a:: with SMTP id 132-v6mr1125813wmi.9.1535395034969; Mon, 27 Aug 2018 11:37:14 -0700 (PDT) Received: from localhost.localdomain ([141.226.8.68]) by smtp.gmail.com with ESMTPSA id c9-v6sm10632992wrt.77.2018.08.27.11.37.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Aug 2018 11:37:14 -0700 (PDT) From: Amir Goldstein To: Theodore Ts'o Cc: Eryu Guan , fstests@vger.kernel.org, linux-unionfs@vger.kernel.org Subject: [PATCH] test-appliance: store the base fs type for overlay test run Date: Mon, 27 Aug 2018 21:39:05 +0300 Message-Id: <1535395145-19166-1-git-send-email-amir73il@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The base fs is used by xfstests in several places, for example, to check if need to disable extent zeroing for underlying ext4 base fs. Signed-off-by: Amir Goldstein --- Ted, This patch is complimentary to this change in fstests: https://marc.info/?l=fstests&m=153539445716875&w=2 Thanks, Amir. kvm-xfstests/test-appliance/files/root/runtests.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kvm-xfstests/test-appliance/files/root/runtests.sh b/kvm-xfstests/test-appliance/files/root/runtests.sh index 1905493..5430dd7 100755 --- a/kvm-xfstests/test-appliance/files/root/runtests.sh +++ b/kvm-xfstests/test-appliance/files/root/runtests.sh @@ -379,6 +379,11 @@ do echo TEST_SET_EXCLUDE: $TEST_SET_EXCLUDE echo TEST_SET_EXCLUDE: $XFS_IO_AVOID >> "$RESULT_BASE/config" fi + if [ "$FS" = overlay ]; then + # with an overlay configuration preserve base FSTYP + # in OVL_BASE_FSTYP + export OVL_BASE_FSTYP="$FSTESTTYP" + fi export FSTYP=$FS AEX="" if test -n "$DO_AEX" ; then