Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp318011pxx; Mon, 26 Oct 2020 09:14:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJgKI4E5pafpT539dHfOqOY1jXdRnI18mxpGBOYPQSfiMDqV3xJ9maJSmoBoVP4teVzut6 X-Received: by 2002:aa7:ccd9:: with SMTP id y25mr15718013edt.375.1603728863678; Mon, 26 Oct 2020 09:14:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603728863; cv=none; d=google.com; s=arc-20160816; b=FcAnT94oPx74pu9bSY3N9U+3bwiBLietGndL/RRz/7GaUctuVRCQ2hFAXHJ3Q5T6p6 6+3li+w50ELl/+RWok1GQg65tgZRHxi7KMgZtyYuB0jpP+ntjmWVke8wNosy3OHV1PDa uLmAp/46U1EIK8pIkQexpmaD6mtnJlBUpyGdCQycuTqMl1sUkAdL6Imf5xC6OQ6F8BZG duf1Sd27sTtNlaNdI2tN2Iadhz4X2/RfbDm01BkWj/zenFXbp2reZbqH5ASjBzRCgQHr KlfiHuo2MW/EEuEAqv+9L3H5Hh7RQqPKxqbMDBrPL1BpFoLNxMWivF3CtO5Ns0lNV1fv z8tw== 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=2jia6VnxcaDDNXVpaB0C1ROKTz2M6PPOnrCSbEyZz34=; b=x2T544LWyyEUAsVxl/z2hqVrCiQcgj5LPVQw4ZbeYNyTcnS33BrZhDuKFCSLaj20aN aYzey21nGMIBBY+wg1EbGZjPuTpJftCD8MYLmdzrcW/TG/xW2BWAkdI81o1wI5BiF/UO 7sb4R70qL+EB3+18OOXxoKMJ3z8sS/Znb1iMm3Q0wOzjBpKcnPWNoPRapaxGj7N2NALj rr+weLeChSbHtVwI4JSrcE6jvDkU4zT5WNNwtYoze0DRp9dGJzu2Qv129Kf4UqIrdVu1 lH3jl8Bxa2V88pl3bCWLXb8c/Chkp3k+8skXoSKxGOGXoc4jL2KS/d3KaW2j62/JdXY8 TSwQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ba26si6848128edb.572.2020.10.26.09.14.01; Mon, 26 Oct 2020 09:14:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1774779AbgJZMNJ (ORCPT + 99 others); Mon, 26 Oct 2020 08:13:09 -0400 Received: from foss.arm.com ([217.140.110.172]:37120 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1774764AbgJZMNI (ORCPT ); Mon, 26 Oct 2020 08:13:08 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A8A701480; Mon, 26 Oct 2020 05:13:07 -0700 (PDT) Received: from e119884-lin.cambridge.arm.com (e119884-lin.cambridge.arm.com [10.1.196.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 747393F719; Mon, 26 Oct 2020 05:13:06 -0700 (PDT) From: Vincenzo Frascino To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Cc: Vincenzo Frascino , Shuah Khan , Catalin Marinas , Will Deacon , Gabor Kertesz , Amit Daniel Kachhap Subject: [PATCH 1/6] kselftest/arm64: Fix check_buffer_fill test Date: Mon, 26 Oct 2020 12:12:43 +0000 Message-Id: <20201026121248.2340-2-vincenzo.frascino@arm.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201026121248.2340-1-vincenzo.frascino@arm.com> References: <20201026121248.2340-1-vincenzo.frascino@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The check_buffer_fill test reports the error below because the test plan is not declared correctly: # Planned tests != run tests (0 != 20) Fix the test adding the correct test plan declaration. Fixes: e9b60476bea0 ("kselftest/arm64: Add utilities and a test to validate mte memory") Cc: Shuah Khan Cc: Catalin Marinas Cc: Will Deacon Cc: Gabor Kertesz Cc: Amit Daniel Kachhap Signed-off-by: Vincenzo Frascino --- tools/testing/selftests/arm64/mte/check_buffer_fill.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/testing/selftests/arm64/mte/check_buffer_fill.c b/tools/testing/selftests/arm64/mte/check_buffer_fill.c index 242635d79035..c9fa141ebdcc 100644 --- a/tools/testing/selftests/arm64/mte/check_buffer_fill.c +++ b/tools/testing/selftests/arm64/mte/check_buffer_fill.c @@ -417,6 +417,9 @@ int main(int argc, char *argv[]) /* Register SIGSEGV handler */ mte_register_signal(SIGSEGV, mte_default_handler); + /* Set test plan */ + ksft_set_plan(20); + /* Buffer by byte tests */ evaluate_test(check_buffer_by_byte(USE_MMAP, MTE_SYNC_ERR), "Check buffer correctness by byte with sync err mode and mmap memory\n"); -- 2.28.0