From patchwork Fri Jan 14 20:53:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 1580283 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256 header.s=susede2_rsa header.b=mQlQYgUU; dkim=fail reason="signature verification failed" header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=M1r9L2E2; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=213.254.12.146; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (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) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JbD6B213nz9t25 for ; Sat, 15 Jan 2022 07:53:21 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 446C23C955B for ; Fri, 14 Jan 2022 21:53:18 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-7.smtp.seeweb.it (in-7.smtp.seeweb.it [217.194.8.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 470993C928A for ; Fri, 14 Jan 2022 21:53:16 +0100 (CET) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-7.smtp.seeweb.it (Postfix) with ESMTPS id AECCF200B98 for ; Fri, 14 Jan 2022 21:53:15 +0100 (CET) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 4DEF21F389; Fri, 14 Jan 2022 20:53:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1642193595; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BLlfgSRAV6SF6Z1l98rYjnvibTboDV3xPtrDW3umWKo=; b=mQlQYgUUCm7LY4DDT7k9YNV7lp2A988xbkcgjDpCkEM+ler/dLDP9+9C8ChDF7AiGN9MG6 GsinDEQDm2QiKIK2h7D3Qgp8CB9g74Dx7hfya5FN1cKkKaLWaU+zblwh3SxZO21+6HakfV gMaF1dB8Q5a44Y1eXUFuLLmp6V9aO2A= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1642193595; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BLlfgSRAV6SF6Z1l98rYjnvibTboDV3xPtrDW3umWKo=; b=M1r9L2E2CgkUhLGQ8VrY8ICK0N1IPLvrsCDD+48qj1ahsamPb9UdqhPbEWavZIc2qE2iQQ 5SNTG1ewsykGuJBw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 152A613BB4; Fri, 14 Jan 2022 20:53:15 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id SLRLA7vi4WHtWAAAMHmgww (envelope-from ); Fri, 14 Jan 2022 20:53:15 +0000 From: Petr Vorel To: ltp@lists.linux.it Date: Fri, 14 Jan 2022 21:53:08 +0100 Message-Id: <20220114205309.14409-3-pvorel@suse.cz> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220114205309.14409-1-pvorel@suse.cz> References: <20220114205309.14409-1-pvorel@suse.cz> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-7.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on in-7.smtp.seeweb.it Subject: [LTP] [PATCH v3 2/3] testinfo.pl: Support tag values on more lines X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" if value is too long, i.e. adding URL: .tags = (const struct tst_tag[]) { {"known-fail", "ustat() is known to fail with EINVAL on Btrfs, see " "https://lore.kernel.org/linux-btrfs/e7e867b8-b57a-7eb2-2432-1627bd3a88fb@toxicpanda.com/" }, {} Signed-off-by: Petr Vorel --- docparse/testinfo.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docparse/testinfo.pl b/docparse/testinfo.pl index 8712a530f8..67e435d794 100755 --- a/docparse/testinfo.pl +++ b/docparse/testinfo.pl @@ -453,6 +453,12 @@ sub content_all_tests $v = html_a($url, $v); } + # tag value value can be split into more lines if too long + # i.e. URL in known-fail + for (@$tag[2 .. $#$tag]) { + $v .= " $_"; + } + $content .= "\n|" . reference($k) . "\n|$v\n"; $tmp2 = 1; }