Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1892183rwd; Wed, 17 May 2023 02:56:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4HSyex/XvSbB0l8KDUAdUEnw0iOcYe91qtus2hIehUKeKMG4K1qTnIWoaZw5uMkeXDiSfO X-Received: by 2002:a17:902:6bcc:b0:1ab:1260:19de with SMTP id m12-20020a1709026bcc00b001ab126019demr1747922plt.11.1684317385958; Wed, 17 May 2023 02:56:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684317385; cv=none; d=google.com; s=arc-20160816; b=se2Gh+XC3iEM8Smqj4p67ZD1hr0rb649s3M4XArct461fG96fuC308BBbelgZoZCek iffPY2kx2bYFhJZAllX8p1oYnkKcUVV614wiQ2PBpOd71PA0AR8AF4HWLKAfDzzwGbAw OLk7AzkXgR9lxjjJKujzQIQ8o2crNxHGf/2sIy7zvjJkYPIQ/B6DOHFw4KTIj/s0DBjg Wb63QMzOpEz/+9vDVaEmI0R7CX82yqnfnawE32pDqtFIaSEWDmm/ql/vgW1EN/qIRIq2 NdemRw5Ufh7VWJvJyRIopSSf3cTIFpevgwrjPMbKqYf/7zGWJwXzOOiV2JfZ/3eiCp4X AwkA== 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; bh=+TrGGYpc8gX1RgupSmsZZjkoApgX5J0kXOmmT/eo4WU=; b=OXm0ekWJLmR16/QePyw2Na3owbSUQ0+G5JZtOeBpTusyasBu9MKMHActFaNa6qzxRb Uz4Gdx+trkRZFxiku9iTUT0uuc7ou7yohWIcMtmWOqmIOWANkcbYWadtihPT58IxwpWB ZYgnXjRCn44wopHcm2dSxSxtMcm8zUaRsAfL3YieiKOFCrKcMB/ckrVMMK7/r2me3Dmi aYt9kXntPFCvaJJhFCojkTE5TWAVaLM8AbLsp1U/M55g6lFBa8LAx/qZdPA94EcthOhn oqP31qAhZh3nw36kpTOeT5gnJIOeOVCmYXnoQKMsR9Vgqho0oNVJeQevGem8MQcqmWfS r93g== ARC-Authentication-Results: i=1; mx.google.com; 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 d18-20020a170902ced200b001aca056bdf9si22709147plg.33.2023.05.17.02.56.10; Wed, 17 May 2023 02:56:25 -0700 (PDT) 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; 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 S229739AbjEQJwU (ORCPT + 99 others); Wed, 17 May 2023 05:52:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229649AbjEQJwT (ORCPT ); Wed, 17 May 2023 05:52:19 -0400 X-Greylist: delayed 87 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 17 May 2023 02:52:17 PDT Received: from us-smtp-delivery-44.mimecast.com (unknown [207.211.30.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE2D9420B for ; Wed, 17 May 2023 02:52:17 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-75-yiFmWgEMNPO1yR4btlEE4A-1; Wed, 17 May 2023 05:50:31 -0400 X-MC-Unique: yiFmWgEMNPO1yR4btlEE4A-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DE5983C0F66B; Wed, 17 May 2023 09:50:30 +0000 (UTC) Received: from comp-core-i7-2640m-0182e6.redhat.com (unknown [10.45.224.28]) by smtp.corp.redhat.com (Postfix) with ESMTP id 808B7492B01; Wed, 17 May 2023 09:50:29 +0000 (UTC) From: Alexey Gladkov To: LKML , Alexei Starovoitov , bpf@vger.kernel.org, linux-kselftest@vger.kernel.org Cc: Andrii Nakryiko , Daniel Borkmann , Roberto Sassu , Stanislav Fomichev Subject: [RESEND PATCH v1] selftests/bpf: Do not use sign-file as testcase Date: Wed, 17 May 2023 11:49:46 +0200 Message-Id: <88e3ab23029d726a2703adcf6af8356f7a2d3483.1684316821.git.legion@kernel.org> In-Reply-To: <88e3ab23029d726a2703adcf6af8356f7a2d3483.1682607419.git.legion@kernel.org> References: <88e3ab23029d726a2703adcf6af8356f7a2d3483.1682607419.git.legion@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RDNS_NONE,SPF_HELO_NONE,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no 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 The sign-file utility (from scripts/) is used in prog_tests/verify_pkcs7_sig.c, but the utility should not be called as a test. Executing this utility produces the following error: selftests: /linux/tools/testing/selftests/bpf: urandom_read ok 16 selftests: /linux/tools/testing/selftests/bpf: urandom_read selftests: /linux/tools/testing/selftests/bpf: sign-file not ok 17 selftests: /linux/tools/testing/selftests/bpf: sign-file # exit=2 Fixes: fc97590668ae ("selftests/bpf: Add test for bpf_verify_pkcs7_signature() kfunc") Reviewed-by: Roberto Sassu Acked-by: Stanislav Fomichev Signed-off-by: Alexey Gladkov --- tools/testing/selftests/bpf/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile index b677dcd0b77a..fd214d1526d4 100644 --- a/tools/testing/selftests/bpf/Makefile +++ b/tools/testing/selftests/bpf/Makefile @@ -88,8 +88,7 @@ TEST_GEN_PROGS_EXTENDED = test_sock_addr test_skb_cgroup_id_user \ xskxceiver xdp_redirect_multi xdp_synproxy veristat xdp_hw_metadata \ xdp_features -TEST_CUSTOM_PROGS = $(OUTPUT)/urandom_read $(OUTPUT)/sign-file -TEST_GEN_FILES += liburandom_read.so +TEST_GEN_FILES += liburandom_read.so urandom_read sign-file # Emit succinct information message describing current building step # $1 - generic step name (e.g., CC, LINK, etc); -- 2.33.8