Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp454346pxb; Thu, 9 Sep 2021 04:59:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHLRMmysjarryrlUHVzQWArVVZL/6gDiq3AUOeQEIHLGfuaFuQgpCPvoVApLMkMjme8UoF X-Received: by 2002:a6b:8d8a:: with SMTP id p132mr2209296iod.81.1631188770769; Thu, 09 Sep 2021 04:59:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631188770; cv=none; d=google.com; s=arc-20160816; b=T251yrKiIuC0ooaS/LaIm909txMZ3UEJYD6SR+m28xwTOuCW3kv+aixLbkhQzIYAQp iTLa7uXfOma+H8dDLErWinMkbKrwrrWiKgQn0GiwE7ssHXcv/yllsmc3tvoXG95ctOav QZw13A4KI4VSfzY5goZmWZuVU2AUUPHoEnbeNhHiQ7jp07BKYpOw7Bv2Lj4vRvp1QO15 VUwGIFIglnA/oYOClOG/kXEPLGLEg9WJPmXNf66gFTgjVVAVE8WSd5OD9zPFpTq9FfYu 20S18DYMU8yv9KGCy/6R2YMJ5ybnvNVZ6Q6o81QUqmlTQRk56vc6C5D4PHnk2AyvFIGY o6Sg== 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=iOX/PQuB4pMJ9XTQXfVuGr357+5hGzwm0XVSonipWl0=; b=bqmZxktPchbHm6JSelIJ+dY/cGA4lIAMFwaZ+gSjdKHuFxk4wEYW/TtiaRUCVb3z33 zjcrISu1n0KlY40K52AAQfl+wz8evvhQZ/kwYXBMu44TLQgAH0IRNATP9kVcQnheX/a4 zrUfMXAP+ldmS9mBTadURaGvOM+rIF1nblAKTNXI65sEkpBqIFikOI7Y9qI+NoTSVbpj enQgcckpOmCwN/knp6Mudg6WwHJddzwNFeiYh86skwLYAhpWpyBqh5sCLiC6EEtCxatZ n8m5RNbVEHxxHUBcLa9E155/c5GWwvOTehg76+7wtmz6XNNxzlm59VsEfN4SojoA0y3n tZTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sPupzZHU; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c6si1460520ile.58.2021.09.09.04.59.16; Thu, 09 Sep 2021 04:59:30 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sPupzZHU; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344288AbhIIL6o (ORCPT + 99 others); Thu, 9 Sep 2021 07:58:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:34520 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244530AbhIILyi (ORCPT ); Thu, 9 Sep 2021 07:54:38 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0DBCD6139F; Thu, 9 Sep 2021 11:44:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631187897; bh=AfyNKaF0xtWhgKji+tagvSCdhOnS9R1W6yf+rMj9Wis=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sPupzZHUzG9M5hd0m4dc6VbcR/hcvigNFPhABImd5L77r0Y/EzKDAA2fOafVvskJJ 1UdUlDT7n1nK7UnmKBNxNsRatPwMRGflYAHwObTSdGyrZhBejM3e2hTWoCQklxSyHl WJS7FEeFxyvIHEo5B2bwyLSZzQ3nNB3HiI62N/EB9nrris2ifikExBKRl4Hr4dmqjf Ck8q/lNuBrz3l5ErdzOPYQgIjxOX8PcakgkWPvAbjHOsLR2lWogpfG53ZP7XfVfXww 5kWqol6LTrBgVMucL3pqle2rtsOzyu9h2SM7cUY7qrqQ2ccyb/LiaaKuwry5pwqGT4 CSCPBV+71PluQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Mark Brown , Catalin Marinas , Sasha Levin , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org Subject: [PATCH AUTOSEL 5.14 177/252] kselftest/arm64: mte: Fix misleading output when skipping tests Date: Thu, 9 Sep 2021 07:39:51 -0400 Message-Id: <20210909114106.141462-177-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909114106.141462-1-sashal@kernel.org> References: <20210909114106.141462-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mark Brown [ Upstream commit 83e5dcbece4ea67ec3ad94b897e2844184802fd7 ] When skipping the tests due to a lack of system support for MTE we currently print a message saying FAIL which makes it look like the test failed even though the test did actually report KSFT_SKIP, creating some confusion. Change the error message to say SKIP instead so things are clearer. Signed-off-by: Mark Brown Link: https://lore.kernel.org/r/20210819172902.56211-1-broonie@kernel.org Signed-off-by: Catalin Marinas Signed-off-by: Sasha Levin --- tools/testing/selftests/arm64/mte/mte_common_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/arm64/mte/mte_common_util.c b/tools/testing/selftests/arm64/mte/mte_common_util.c index f50ac31920d1..0328a1e08f65 100644 --- a/tools/testing/selftests/arm64/mte/mte_common_util.c +++ b/tools/testing/selftests/arm64/mte/mte_common_util.c @@ -298,7 +298,7 @@ int mte_default_setup(void) int ret; if (!(hwcaps2 & HWCAP2_MTE)) { - ksft_print_msg("FAIL: MTE features unavailable\n"); + ksft_print_msg("SKIP: MTE features unavailable\n"); return KSFT_SKIP; } /* Get current mte mode */ -- 2.30.2