From patchwork Thu Apr 27 15:09:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amir Goldstein X-Patchwork-Id: 9703005 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 EBAC56032C for ; Thu, 27 Apr 2017 15:09:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC2B4285EA for ; Thu, 27 Apr 2017 15:09:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E0DAF28655; Thu, 27 Apr 2017 15:09:32 +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 8B71A285EA for ; Thu, 27 Apr 2017 15:09:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755970AbdD0PJb (ORCPT ); Thu, 27 Apr 2017 11:09:31 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33209 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756036AbdD0PJb (ORCPT ); Thu, 27 Apr 2017 11:09:31 -0400 Received: by mail-wm0-f68.google.com with SMTP id y10so5220983wmh.0; Thu, 27 Apr 2017 08:09:30 -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=h+y/ZPBs3xdIU7b01aSbttx/fS0ccI/93CEhzlNl4CA=; b=rCSSGDNt/E4A6LkcbjJjlmbv7KhbEXaqwzoqGicruMJvyAoiLcB91O4CKZjhh9ndk7 aKtA8Q0Bcxe0wek3m5NeXccwvclmMnX39BWf8S9LLSCGfOpMKZUks2+fSIstWRMa8Rjx wtUVOJDUapOQ4FLFzjuo1hruTNMqtIbLBLyVSuhaOW1iZbTZv4MW7c8WGcMTa/ILlXXQ JJsHYAv/7fHQ0+mNC1JhfpK/XFyRGjUdwWQsPj0wrV+PYeDFuiIUua9QF6QMOT29aTiy Eh2KKblHNf8tPXKa8kxGXRwt5FbpYlUnACEaY6wVK8reycMutOVbECPqL5pRd9B49A0V Z93A== 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=h+y/ZPBs3xdIU7b01aSbttx/fS0ccI/93CEhzlNl4CA=; b=OYmfwuIrMk/omorACRAUBx33tIYhmrFGOdT8EuOcP+RzHKS/j+1lG8fWEpKKjbQsaS IPfnsjmMY+AeQNkL5CUM00sw46luSF7CqRENIMrBJZQHER33UQaO996vzL01mdY/ovrZ JAlsm4iLkZ6Bhjl/n7YyX3oI6m5CJVNzJ2GjMy0PtOSnTSMbHdeCnLPZSNPOgB+s8tm0 J+7tZqQFKJ+utTjhhuqCXLYU2Yt4C24KNJE8JkIMf8yvp/5HPTh6fSk4AfaJRhMKIXUp DXoOqWCCFdjvEtt1HzC6aPZjLOCQbO2mkFwAvQe9Mn8RWerQiN7SNLE99DW31ewdOpXY adCg== X-Gm-Message-State: AN3rC/7q6vgfdB05yJa3LsHwjDLmn7DC9diYXSJuTTx/WZZYfJHtbey9 lvbGwLa3nFft6a/W X-Received: by 10.28.19.7 with SMTP id 7mr2681781wmt.68.1493305769560; Thu, 27 Apr 2017 08:09:29 -0700 (PDT) Received: from amir-VirtualBox.lan (bzq-79-179-55-127.red.bezeqint.net. [79.179.55.127]) by smtp.gmail.com with ESMTPSA id p17sm3519265wmd.11.2017.04.27.08.09.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Apr 2017 08:09:28 -0700 (PDT) From: Amir Goldstein To: Eryu Guan Cc: Miklos Szeredi , Xiong Zhou , linux-unionfs@vger.kernel.org, fstests@vger.kernel.org Subject: [PATCH 1/5] overlay/017: silence test output Date: Thu, 27 Apr 2017 18:09:31 +0300 Message-Id: <1493305775-12559-2-git-send-email-amir73il@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1493305775-12559-1-git-send-email-amir73il@gmail.com> References: <1493305775-12559-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 Change test to output golden silence on success. Signed-off-by: Amir Goldstein --- tests/overlay/017 | 4 +++- tests/overlay/017.out | 7 +------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/tests/overlay/017 b/tests/overlay/017 index 5ca3040..d6ba2ae 100755 --- a/tests/overlay/017 +++ b/tests/overlay/017 @@ -89,11 +89,13 @@ done # find by inode number - expect to find file by inode number cat $tmp.before | while read ino f; do - find $f -inum $ino -maxdepth 0 | _filter_scratch + find $SCRATCH_MNT/ -inum $ino -maxdepth 1 | grep -q $f || \ + echo "$f not found by ino $ino" done # Compare before..after - expect silence diff $tmp.before $tmp.after +echo "Silence is golden" status=0 exit diff --git a/tests/overlay/017.out b/tests/overlay/017.out index 1f277c5..8222844 100644 --- a/tests/overlay/017.out +++ b/tests/overlay/017.out @@ -1,7 +1,2 @@ QA output created by 017 -SCRATCH_MNT/dir -SCRATCH_MNT/file -SCRATCH_MNT/symlink -SCRATCH_MNT/chrdev -SCRATCH_MNT/blkdev -SCRATCH_MNT/fifo +Silence is golden