From nobody Mon Jun 29 23:58:32 2026 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 815A8C433EF for ; Mon, 31 Jan 2022 00:36:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357209AbiAaAgl (ORCPT ); Sun, 30 Jan 2022 19:36:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357015AbiAaAgj (ORCPT ); Sun, 30 Jan 2022 19:36:39 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CF7FC061714; Sun, 30 Jan 2022 16:36:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=RAr/avbZ9dvrmyFHTddz+fhHj1lJqbBwGsig25CiDDI=; b=Q5pgL7x9/+uPI4odK3PwxZmPOO Aw4n1NJ8HdAvRhqj2TmO7BmuTY2cyrmdHpl4qm+nU1c12LL2f+MPmVmvTrnVsCjTB2QdltSYaLU+x 5a7HFjlT1PMJP+CuE3IZeC4V4mlJe9f5dV8hubhOjAteYaYwMHUZh//R5G1fCDwwzNhWjACw0OWR2 QFB6d5VlykzSOkRtGCxwkrn5KU99IDefWAH1BOLThEzHcWFZgkJwuUCBlUWlWMGzc+jlxzfBpKg3n vNkO9sIPJQWN9GI4zqYTMPj6l+Wh16KntfRNtvV2A7xWBdXCZEcG8ZKrbQacDPmnKlWUpC/rhXG5Z +HZRb7QA==; Received: from [2601:1c0:6280:3f0::aa0b] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nEKgQ-007mQL-GL; Mon, 31 Jan 2022 00:36:38 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Rae Moar , David Gow , Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH] Docs: ktap: add code-block type Date: Sun, 30 Jan 2022 16:36:37 -0800 Message-Id: <20220131003637.14274-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Fix multiple "code-block::" warnings by adding "none" as the type of code-block. Mends these warnings: Documentation/dev-tools/ktap.rst:71: WARNING: Error in "code-block" directi= ve: 1 argument(s) required, 0 supplied. Documentation/dev-tools/ktap.rst:120: WARNING: Error in "code-block" direct= ive: 1 argument(s) required, 0 supplied. Documentation/dev-tools/ktap.rst:126: WARNING: Error in "code-block" direct= ive: 1 argument(s) required, 0 supplied. Documentation/dev-tools/ktap.rst:132: WARNING: Error in "code-block" direct= ive: 1 argument(s) required, 0 supplied. Documentation/dev-tools/ktap.rst:139: WARNING: Error in "code-block" direct= ive: 1 argument(s) required, 0 supplied. Documentation/dev-tools/ktap.rst:145: WARNING: Error in "code-block" direct= ive: 1 argument(s) required, 0 supplied. Documentation/dev-tools/ktap.rst:195: WARNING: Error in "code-block" direct= ive: 1 argument(s) required, 0 supplied. Documentation/dev-tools/ktap.rst:208: WARNING: Error in "code-block" direct= ive: 1 argument(s) required, 0 supplied. Documentation/dev-tools/ktap.rst:238: WARNING: Error in "code-block" direct= ive: 1 argument(s) required, 0 supplied. Fixes: a32fa6b2e8b4 ("Documentation: dev-tools: Add KTAP specification") Signed-off-by: Randy Dunlap Cc: Rae Moar Cc: David Gow Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org Reviewed-by: David Gow Reviewed-by: Frank Rowand --- Documentation/dev-tools/ktap.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) --- linux-next-20220128.orig/Documentation/dev-tools/ktap.rst +++ linux-next-20220128/Documentation/dev-tools/ktap.rst @@ -68,7 +68,7 @@ Test case result lines Test case result lines indicate the final status of a test. They are required and must have the format: =20 -.. code-block:: +.. code-block:: none =20 [][ # [] []] =20 @@ -117,32 +117,32 @@ separator. =20 Example result lines include: =20 -.. code-block:: +.. code-block:: none =20 ok 1 test_case_name =20 The test "test_case_name" passed. =20 -.. code-block:: +.. code-block:: none =20 not ok 1 test_case_name =20 The test "test_case_name" failed. =20 -.. code-block:: +.. code-block:: none =20 ok 1 test # SKIP necessary dependency unavailable =20 The test "test" was SKIPPED with the diagnostic message "necessary depende= ncy unavailable". =20 -.. code-block:: +.. code-block:: none =20 not ok 1 test # TIMEOUT 30 seconds =20 The test "test" timed out, with diagnostic data "30 seconds". =20 -.. code-block:: +.. code-block:: none =20 ok 5 check return code # rcode=3D0 =20 @@ -192,7 +192,7 @@ line and should end before the parent te =20 An example of a test with two nested subtests: =20 -.. code-block:: +.. code-block:: none =20 KTAP version 1 1..1 @@ -205,7 +205,7 @@ An example of a test with two nested sub =20 An example format with multiple levels of nested testing: =20 -.. code-block:: +.. code-block:: none =20 KTAP version 1 1..2 @@ -235,7 +235,7 @@ nested version line, uses a line of the =20 Example KTAP output -------------------- -.. code-block:: +.. code-block:: none =20 KTAP version 1 1..1