Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp8302889rwl; Tue, 10 Jan 2023 11:34:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXsTkwFmx0UflSLS7JSZMRq4TKNVExSLBaphLXhiD2DuZ6wrQWA7APJ6Kns7CbqU5IvGfls1 X-Received: by 2002:a17:907:a091:b0:7c1:23ef:4bb9 with SMTP id hu17-20020a170907a09100b007c123ef4bb9mr58305657ejc.13.1673379280610; Tue, 10 Jan 2023 11:34:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673379280; cv=none; d=google.com; s=arc-20160816; b=WRCF7eBt/hhPwd7WuYF6t0W5AHgMFAXXJbYv+TQoGfvsfK0NhI+VoO0BK7HkfXj1ZJ 0zMbdkYx5BURblGWr/6euagQadP9UPj5sHQoSjlCkxL7lIuQNYF2yUKB4v3B1LPgf9iC eARKVZhlVJrCefOH3IYyE9a/kjFOheWCuwZK3jly/6HRq4+erNK/OIhJ+3zurUDcW7pu 5aggZNXvcu8EAwACRAqUs9Ua1M9WnUPP/gteNkFIxQfGWYI74JfbdtGz3Kwoi31Gmb45 FJdm00zVR+pE3cv1AG/sIrfJ4ZGBcIxaJawM7vEoAQ80JSGfpsraKuhc7JrbHPgUxTVo yyKQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds4-20020a170907724400b0081a9c3ca4bcsi13525017ejc.379.2023.01.10.11.34.27; Tue, 10 Jan 2023 11:34:40 -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 + 53 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 Content-Transfer-Encoding: 8bit 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 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 -- 2.25.1