From patchwork Tue Jan 10 19:04:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 41601 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2920845wrt; Tue, 10 Jan 2023 11:07:11 -0800 (PST) X-Google-Smtp-Source: AMrXdXvE6IML4yJ7PRu35iv6pjWFkGrn/ViDVaqt3JF+53ILsXrFAahSAiTQ++P3xv3AYLdy1KVW X-Received: by 2002:aa7:c911:0:b0:48d:4504:32ed with SMTP id b17-20020aa7c911000000b0048d450432edmr28426658edt.37.1673377631732; Tue, 10 Jan 2023 11:07:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673377631; cv=none; d=google.com; s=arc-20160816; b=ne9tlNw1EQeD9TsZ9UyIdZWG86R9aJAM1O1qDRzBMMDnHvBdPSMmGTZiFqhMv68+WG 6uI8B1O3o8ctTaojJIZMZqI3Mo+sbqogtB1aGr1QpOmSjpd34blH3FYRnGIcJeRWZxBw wvWCCRsFZDNg6bUiGY5QQokPzToGm6QWdcPRdvEiE2aoCeDPxBI1neYwG/iXLF2FmvqE MQFKFpQdt/HwXP3x7mpnXyZzplWl3zrmQ5RVEXOtx0P1YcTbMC6cDC1vLmjmDuigkUvY AJMHxUPSK3dllWrBaflnDZBm3Q1n4Xf0qqbn8cTJ7n/658wOZ0PVDZcnEeDlXKpF/EBW 93cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ohcizMosvyz07ez5rD62w8hpDZjo4u+SDslTu1Zy6sg=; b=dlw00ZaR2FWwncJagNx492thx5rR8/Qaq2NlffCGHBb0tzudoRnaUxOt3tRJE8NO8A ujKNdnpXw8TSPEaoPrqY+NY+9xECTzM4iapXLL9Q7qiwOuDAcq7GRR8vmG9eqTQKlLji wv0tt1NSgF68CmnoKAEm/BHA6wOvncz9Z/d5x8JVtRBxmzyIQLKSHxDr+XkRL+dChWHq L/a8TwjgZWIxhDDGHVfsZ57VqrMFZouRypheLaFN2o4FANonPmEyihrfX0aRdqsybmfy bW2rko3iF4dowSRvUMmwyQ6/pSmAFmujiBew+prHed1/ONgX9qrV7gfBeyCL3B+IW/Fd 2bBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k9iw2rZ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l18-20020a056402255200b004683b475587si14945746edb.274.2023.01.10.11.06.47; Tue, 10 Jan 2023 11:07:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k9iw2rZ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239695AbjAJTFW (ORCPT + 99 others); Tue, 10 Jan 2023 14:05:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239679AbjAJTEO (ORCPT ); Tue, 10 Jan 2023 14:04:14 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68AAAC2C; Tue, 10 Jan 2023 11:04:13 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id B4C0BCE18D7; Tue, 10 Jan 2023 19:04:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BBFCC433F0; Tue, 10 Jan 2023 19:04:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673377449; bh=CjhxKTgVu+lPp4HMYYUYnXVejaSmINVAMJdDe1Xu9yw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k9iw2rZ6IgCzqVQBdYfz7/bh7pKhBy1FK+wxTqUl4jmsut3RCJjFMQ1iXDcc3yG3g ubQRNrcDKuML+gAAHhG/o2oIDoU0TNhHHsHQytYLNAHxwWHfHNvbtBi9ytfESI4MnH jphspOWxy3DGuZw7GJ9uRW1Vge4F5VWvuzH2dw3zS4uPT/Qm6JaveOZol+/Qmximra z0bItMD2PlFtwfc92SGvmZTfoLuPUjMbiUV5pdVgi64g2QU+GBFxkDLhZH8tCZZn/u 55l2ZlUFIEAZtEMyfMhDiv4kJAus9+cQjzHXnbUXQoiiYsN4VQZjLPdrXhoaGy9nkw puw4xPVZ3JB6Q== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , Shuah Khan , damon@lists.linux.dev, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 8/8] selftests/damon/debugfs_rm_non_contexts: hide expected write error messages Date: Tue, 10 Jan 2023 19:04:00 +0000 Message-Id: <20230110190400.119388-9-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230110190400.119388-1-sj@kernel.org> References: <20230110190400.119388-1-sj@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754663623560312743?= X-GMAIL-MSGID: =?utf-8?q?1754663623560312743?= A selftest case for DAMON debugfs interface has a test for expected failure. To make the test output clean, hide the expected failure error message. Signed-off-by: SeongJae Park --- tools/testing/selftests/damon/debugfs_rm_non_contexts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/damon/debugfs_rm_non_contexts.sh b/tools/testing/selftests/damon/debugfs_rm_non_contexts.sh index 48b7af6b022c..f3ffeb1343cf 100644 --- a/tools/testing/selftests/damon/debugfs_rm_non_contexts.sh +++ b/tools/testing/selftests/damon/debugfs_rm_non_contexts.sh @@ -10,7 +10,7 @@ dmesg -C for file in "$DBGFS/"* do - echo "$(basename "$f")" > "$DBGFS/rm_contexts" + (echo "$(basename "$f")" > "$DBGFS/rm_contexts") &> /dev/null if dmesg | grep -q BUG then dmesg