From patchwork Thu Jul 29 20:32:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josef Bacik X-Patchwork-Id: 12409783 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42738C432BE for ; Thu, 29 Jul 2021 20:32:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 242B760F5C for ; Thu, 29 Jul 2021 20:32:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232944AbhG2Uc2 (ORCPT ); Thu, 29 Jul 2021 16:32:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229707AbhG2Uc2 (ORCPT ); Thu, 29 Jul 2021 16:32:28 -0400 Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD347C0613C1 for ; Thu, 29 Jul 2021 13:32:22 -0700 (PDT) Received: by mail-qk1-x732.google.com with SMTP id 129so7285136qkg.4 for ; Thu, 29 Jul 2021 13:32:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=ArEg3wJQ2YWHtg3x+wWhG47C5LGq2xFDaJ6mvWtADyc=; b=UIQyLDPDk1pikacmIcGUHAf1LDS290OCduL5o8uBcXYrykM3c55hQl77OclYmjHXzS HV8m65RZIJs5jaCxSO3zrkTJC4btuCawroBd2HuMwcViNDH2OPSynnMXSemxIe9210bQ r6r5ZUa89Ror1+WWAkJH4X2PqIVI9wqVKh37nsftvfwT/IuhiVYVm1CL9elTXwH3I+Mk tByGCjLZrIAMay2k8MjNhqLbCOvH+p3Vq/nLsrqtlZpaQTuOR3wl/oE6pzUX6fKXbJSE OFKMnPz9oz06iGK3NGzRS27pXtMx3mqaA3dMg+vsgMSBpBJdP5/0tL2pTr+Af/tySiEj +gOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=ArEg3wJQ2YWHtg3x+wWhG47C5LGq2xFDaJ6mvWtADyc=; b=nBzVXqfMiJ3RRJTGTrv5JVp8Sir17sAEsGj/8F9I8CigHqZQzzt2bJINJGlqbPCelf iVa7eSltVhbiRZr7UuNDqFFr1Wn+TkfHT4AzFSHH7R7/0uHVaJNvr43dOfJa0DDNgWJ3 GIH1/AoP5wVB07DTtGPdhDAuy0G2Nn5l/OUdeQ/m5soCb9W3vAlzWQhYWEJOkZg6pbgE /ZAmUiuC3sAkpknGGQbEMZCvVNOP9Fm4uP+rGXv/YAayALvdhECUM1E+e8Q0bFR43KyY 9L6L/JY0Ciw8P2dXoWwwhbjR5eW4+fFCywZOMgZ/G3o/Y1h5xznJGZaYyiYBfgagh9gq A0GQ== X-Gm-Message-State: AOAM531DAmqrBlR2Fy6H1Zwg/EQVZUDZpalBGG3eWzswPbl77HRn/6pj PgVaIJWfQN38hyVQHaxWkbjb6pzPABxWkmAb X-Google-Smtp-Source: ABdhPJwc0eU8F64LAtZFo0M4lUJtfo7eQCcIW/Wf2PQzqFfNfXCuRwMUNJgUKB74oDCMI3UTydsoCw== X-Received: by 2002:ae9:f006:: with SMTP id l6mr6885862qkg.420.1627590741665; Thu, 29 Jul 2021 13:32:21 -0700 (PDT) Received: from localhost (cpe-174-109-172-136.nc.res.rr.com. [174.109.172.136]) by smtp.gmail.com with ESMTPSA id i123sm2361117qkf.60.2021.07.29.13.32.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jul 2021 13:32:21 -0700 (PDT) From: Josef Bacik To: fstests@vger.kernel.org, linux-btrfs@vger.kernel.org Subject: [PATCH] fstests: remove results .dmesg on each run Date: Thu, 29 Jul 2021 16:32:20 -0400 Message-Id: X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org I recently added dmesg files to my nightly fstests summary page and noticed I was getting .dmesg files from runs that happened previously. This is because we don't remove the .dmesg file in the results directory when we go to run the test, so fstests results would show a test having failed with dmesg errors when it actually hadn't failed. Fix this by removing the .dmesg file when we are going to run a test. Signed-off-by: Josef Bacik --- check | 1 + 1 file changed, 1 insertion(+) diff --git a/check b/check index bb7e030c..2021cb21 100755 --- a/check +++ b/check @@ -809,6 +809,7 @@ function run_section() # really going to try and run this one rm -f $seqres.out.bad + rm -f $seqres.dmesg # check if we really should run it _expunge_test $seqnum