Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1940431rdb; Wed, 31 Jan 2024 14:05:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IGYyVKN1BxlucDA7FcJTJkjNzOn5bLnQJbY3e6yX65tVO6GaV17p9Fk1pZco6Oqmk0R3uzP X-Received: by 2002:a05:6870:8312:b0:214:b2c1:ee59 with SMTP id p18-20020a056870831200b00214b2c1ee59mr3345494oae.2.1706738739255; Wed, 31 Jan 2024 14:05:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706738739; cv=pass; d=google.com; s=arc-20160816; b=T5IdV5wW5nC4aNpcvvc3SA6pein/diDLuUvhpJ5PK/jhzEbozLG0wJasK9hEN+LTAk lA6nqGbOzv/0gysUxQXLbKct+6iTCVp8VZFn2m8j5dFVQhBXAD+T3ZnIc9PJ0oY8iCUw Dzy7sgpwAih1ShyrQBVeyPcHkZlnhJxqs7J+ef2HdzqA723ze36rStIFfhKOyut/szBS jbEj1TUepApriLdoRY63RsA7V3vMhwgdcSdpURbsZ/PCP5+JoHbybZuTOudUpH4kWTwB MB3ZWmYLuTDXntjhgq+mxL3Tfk63imM7LCJTu8R/29dqb7WRpxrhjvDpnGYQznFKqVFF LuOw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=WO8Jjfx6IHzQ+Cvrh268kDb8hJTFykezEE+E9uKPtqE=; fh=SMGO56lbXMApuzlQZx2dhwJnkw+g8AjTyjN0tTEB7Xk=; b=AV9BrSUQqmsGAOC1omw+stn0z6FMQ3Z3LiHofghme+yTF1oC9TE04SP3tX/JboRpeO ztDgREtEnP41iWWGhSIJI8nmlLjQnNy8QxRQM5kn7v1qUHoNHs3baoCJXWHtas8WIYzz TC3HTS0CZkeW30hxHro3O2AUzWKUuku/15lnAe3pM2VdcyY/5xrQIPtWHk58waQ6h4pr mXD4OGbbUPF40cikO11LpxttQHq1v1icFoEE4qvYBdPP6MROfatLUHRKpABDOyaK0U7F kOc102cPSb7byLpix7WNqtYMg8x3WkluraQVAXhzpMCUn/KuLwwS9IyKsmbCRApm0HJp WI7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=kxIWU+wB; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-47226-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47226-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com X-Forwarded-Encrypted: i=1; AJvYcCW6PDj2Ji3EuYW2lbafjJRaRDW9Oosi6EOZ6+uHqKtJN7k+Orjslm9dVhjGBUIbzFJr7q1RGcWvgIaDUp8PNCpu5QZKP1q6w3HAp1m8fg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id t18-20020a63b252000000b005cd8f461cf1si10166385pgo.515.2024.01.31.14.05.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 14:05:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47226-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=kxIWU+wB; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-47226-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47226-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C55B0290E6D for ; Wed, 31 Jan 2024 22:04:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E885A39FDE; Wed, 31 Jan 2024 22:04:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="kxIWU+wB" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 640F239FCF; Wed, 31 Jan 2024 22:04:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706738688; cv=none; b=hd3anqNHky3Rx8HLBFNsjRAJMPzIvtO+ht2zxfkB86vGwsLsKfZKkO4PMwRvMby9yYUbRZHl6EB4hkGT9UrQE13VKHyDWlO+X1F5bYUZ/5RxYltcj552uGgHmtJkdEQ/VVV+l7YRxfawVG03D1scbAIIHqKZdz4ArAyBpDnCrzA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706738688; c=relaxed/simple; bh=rL6UwTddxATQMnHl3lvOrzS0ZwUZS/8XdLqdZsz3tYE=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=hnWYWnX6EsghOORTIziZEjUxDOVOzq04TNpeaI0pf3Vl3TdowdqRes7waNBOAdhLU7IMxDI3/N3recdPNb8iW/F1bO9fpYPk0jG5eENQWihrKZkgSJDm2DW32gCwacIQG6SINqdnSP6Ak/DAWBj/xbI0l+ZeTLXb+jH99exx9h8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=kxIWU+wB; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1706738684; bh=rL6UwTddxATQMnHl3lvOrzS0ZwUZS/8XdLqdZsz3tYE=; h=From:Subject:Date:To:Cc:From; b=kxIWU+wBshFK7I+RUIsTcbhEwf/iedWGcTjpZZQ9pBsm/WgVfrDG2ElwGudROcsj6 zQx0qUOFZZCQ9rUDCRLsTJnpb1CGjLghSEXHed0O5Om5Tb1d+Hn+ARLQJGNazir57V QjxHnsZqu1Dm/MpT0OXW5JpdPiFSX6MHu6IivQKtPIM7a075gO0239WzK4efY9GOL6 c5wWT48FBN0xqvP6Gm7foEV48XWvksY7gTYJJ5YLcXRrozzFi9hp2vg115vqUwED2k vA1ZbWe9/G//EI2j2qmdavtXvATR540ij+CCG1l5JOJind2BLS85Ek1/Ps910FS4Fg cZYQ/0q/av7uw== Received: from [192.168.1.211] (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madrid.collaboradmins.com (Postfix) with ESMTPSA id DEF1F378042B; Wed, 31 Jan 2024 22:04:42 +0000 (UTC) From: =?utf-8?q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= Subject: [PATCH 0/4] selftests: ktap_helpers: Add some missing helpers Date: Wed, 31 Jan 2024 17:02:39 -0500 Message-Id: <20240131-ktap-sh-helpers-extend-v1-0-98ffb468712c@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAH/DumUC/x3MQQqDMBBG4avIrB1ItJLSqxQXMf41Q0saMiKCe HeDy2/x3kGKIlB6NQcVbKLyTxW2bShEnxawzNXUme5hbG/5u/rMGjnil1GUsa9IMz/NMDkXvHN 9oBrngo/s9/g9nucFWsbcDWgAAAA= To: Shuah Khan Cc: kernel@collabora.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Laura Nao , =?utf-8?q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= X-Mailer: b4 0.12.4 This series adds a few missing functions to the shell KTAP helpers script which are present in the C counterpart, kselftest.h. This series depends on "selftests: Move KTAP bash helpers to selftests common folder" https://lore.kernel.org/all/20240102141528.169947-1-laura.nao@collabora.com/ Signed-off-by: Nícolas F. R. A. Prado --- Nícolas F. R. A. Prado (4): selftests: ktap_helpers: Add helper to print diagnostic messages selftests: ktap_helpers: Add helper to pass/fail test based on exit code selftests: ktap_helpers: Add a helper to abort the test selftests: ktap_helpers: Add a helper to finish the test tools/testing/selftests/kselftest/ktap_helpers.sh | 39 +++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) --- base-commit: f1ca07220ad16a9efae7f68e4bade0db89b63a3c change-id: 20240131-ktap-sh-helpers-extend-805b77ca773c Best regards, -- Nícolas F. R. A. Prado