From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20ECCC4332F for ; Tue, 31 Oct 2023 15:31:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345011AbjJaPbI (ORCPT ); Tue, 31 Oct 2023 11:31:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344994AbjJaPbG (ORCPT ); Tue, 31 Oct 2023 11:31:06 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EC56E6 for ; Tue, 31 Oct 2023 08:31:04 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2537BC433C7; Tue, 31 Oct 2023 15:31:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698766264; bh=nEcygd4r/aqIimNh6oZz/KmSqcygFL3nW78dPlNEFAs=; h=Date:From:To:Cc:Subject:From; b=SH9lLeCq+FNPmW7M596sKQ3OH38PN6gO6WeS+aEe2m1xD8sID6EddQJ8MF9w6LJ20 c8Yt8VAci2RiM13VryMilWq3JVR1B8hfmWJ/IyCWlXCkJFepqoO2ZnN0UY6Q7xd+/q jZdZcQNxCkmU9eHWasWCxLnDjGxXsJjStfg3gXnWWC7lvPo3pgDN5ZkY29UFa/JalU Tv8aTIP6qpYl1lZfK8WGlzlvM71NqsDfBiZBrYkEHBFYei0dNGQKj7ZRBnhK6Ex0hz rXA0SB/VZ0pYYOs28Yq8YZlix1wIgu2wWpEWJFJFmCPKx0nE8keuNcjluBDK4caVRD M66r+ymQMW5Wg== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 8FC804035D; Tue, 31 Oct 2023 12:31:01 -0300 (-03) Date: Tue, 31 Oct 2023 12:31:01 -0300 From: Arnaldo Carvalho de Melo To: Linux Kernel Mailing List Cc: Adrian Hunter , Guilherme Amadio , Ian Rogers , Jiri Olsa , Namhyung Kim Subject: [PATCH next 2/3] perf tests make: Remove the last egrep call, use 'grep -E' instead Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org One last case, caught while testing with amazonlinux:2, centos:stream, etc: 4 7.28 amazonlinux:2 : FAIL egrep: warning: egrep is obsolescent; using grep -E 8 13.87 centos:stream : FAIL egrep: warning: egrep is obsolescent; using grep -E Cc: Adrian Hunter Cc: Guilherme Amadio Cc: Ian Rogers Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/tests/make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/tests/make b/tools/perf/tests/make index d9945ed25bc5ae96..8a4da7eb637a8abd 100644 --- a/tools/perf/tests/make +++ b/tools/perf/tests/make @@ -183,7 +183,7 @@ run += make_install_prefix_slash # run += make_install_pdf run += make_minimal -old_libbpf := $(shell echo '\#include ' | $(CC) -E -dM -x c -| egrep -q "define[[:space:]]+LIBBPF_MAJOR_VERSION[[:space:]]+0{1}") +old_libbpf := $(shell echo '\#include ' | $(CC) -E -dM -x c -| grep -q -E "define[[:space:]]+LIBBPF_MAJOR_VERSION[[:space:]]+0{1}") ifneq ($(old_libbpf),) run += make_libbpf_dynamic -- 2.41.0