From patchwork Thu Mar 30 09:11:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Po-Hsu Lin X-Patchwork-Id: 1763134 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=d0L8Adxk; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PnHkG0qY8z1yXv for ; Thu, 30 Mar 2023 20:12:21 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1phoKK-00048a-Ty; Thu, 30 Mar 2023 09:12:12 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1phoKJ-00048Q-9i for kernel-team@lists.ubuntu.com; Thu, 30 Mar 2023 09:12:11 +0000 Received: from localhost.localdomain (1.general.phlin.uk.vpn [10.172.194.38]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 16D5A3F113 for ; Thu, 30 Mar 2023 09:12:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1680167530; bh=4gJlwNjRPIdX0WNgn7Y067ISpCt2sIr8HdFRGuwGmI0=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=d0L8Adxk8blDumjlD97Lgb3lcC4e5c1TigFUgb3i08qGwI+MLe3TSLxeRGTq5U9l4 4pxO2ptOH6mRNtPzjBYrUInnHGV+zUXHjhUEWyk9AMvzQt9+Oqm+jYGH16C7ZRQFyK dWbpenz95rLUyBXc1aXkcNuco0a9nv9cM5oLyFs76tiKKA63VVsm2CsHLT8Joa7Lty X7eZcrZlyKWaiRS1SKQBrvNVtIG1yFPmaUfF/xMHrv4S7lYFaFaqkmC7CVRU410G2C aa5aC73t5VH8tSxFPjFG9yj7yGsNkAYeJpapN6SyCaVC/2hZo/NnLhjTS/OFP4M26A BWC0b0Z6zGzzg== From: Po-Hsu Lin To: kernel-team@lists.ubuntu.com Subject: [K][SRU][PATCH 0/1] selftests/ftrace: Fix bash specific "==" operator Date: Thu, 30 Mar 2023 17:11:42 +0800 Message-Id: <20230330091143.193392-1-po-hsu.lin@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" == Impact == With upstream commit a1d6cd88c "selftests/ftrace: event_triggers: wait longer for test_event_enable" applied via stable update (LP: #2008832), ftrace in Kinetic proposed (5.19.0-40.41) is now failing with: # [28] ftrace - test for function event triggers [FAIL] # [57] Meta-selftest: Checkbashisms [FAIL] # [97] (instance) ftrace - test for function event triggers [FAIL] The "==" operator fix from 1e6b485c can solve this problem. == Fix == * 1e6b485c selftests/ftrace: Fix bash specific "==" operator This patch can be cherry-picked into Kinetic. We have this patch in Focal, Jammy and Lunar already, the one for Bionic is on it's way. So Kinetic is probably the last bit we need to fix. == Testcase == Running the kernel selftests/ftracetest, these three test cases should pass. == Regression Potential == This affects only the selftest suite and only ftrace subtests. Any change would only be observable there. Masami Hiramatsu (Google) (1): selftests/ftrace: Fix bash specific "==" operator tools/testing/selftests/ftrace/test.d/ftrace/func_event_triggers.tc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)