From mboxrd@z Thu Jan 1 00:00:00 1970 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 picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E1CC9C00140 for ; Mon, 8 Aug 2022 10:11:00 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 16ED13C95EF for ; Mon, 8 Aug 2022 12:10:58 +0200 (CEST) Received: from in-3.smtp.seeweb.it (in-3.smtp.seeweb.it [217.194.8.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 6C6383C943B for ; Mon, 8 Aug 2022 12:10:26 +0200 (CEST) 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-3.smtp.seeweb.it (Postfix) with ESMTPS id E8C821A0069A for ; Mon, 8 Aug 2022 12:10:25 +0200 (CEST) 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 B8ECD1FFB8; Mon, 8 Aug 2022 10:10:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1659953424; 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=m2B6QpTyz9udmWdGc6xYWYdMsbdBOhN81v/twKgGsos=; b=rtcQhqtHb6d1RGVzt9fRSDxHV+Yxe13qxGue/2nkb4ivaP98bQ5GsVR8uImhbnjtDatBvV CX/iODL/ldWoYO1qgICS0zy6YMVDTxUQbYlEZvcrPGfPQpF7mtoa4f46+/P2gc9ysEeZnO 6fepWXa4bDcmSvC5nZZw4f0Kgms2FAw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1659953424; 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=m2B6QpTyz9udmWdGc6xYWYdMsbdBOhN81v/twKgGsos=; b=kaO7P6MT6fwgyasS0DI7l6SBq/TFhZfKx4L02J0xNzZt+Uh27mg4337eUdxl5tcc3QRgnh eBJizkJLtYL1FVBQ== 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 89EFD13ADE; Mon, 8 Aug 2022 10:10:24 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id yLU5IBDh8GKkAgAAMHmgww (envelope-from ); Mon, 08 Aug 2022 10:10:24 +0000 From: Petr Vorel To: ltp@lists.linux.it Date: Mon, 8 Aug 2022 12:10:16 +0200 Message-Id: <20220808101019.29892-2-pvorel@suse.cz> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220808101019.29892-1-pvorel@suse.cz> References: <20220808101019.29892-1-pvorel@suse.cz> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-3.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] [PATCH v3 1/4] tst_test.sh: runtest.sh: Remove unused code 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" This code is in tst_print_colored() (probably forgotten to remove code from tst_test.sh in a7f613372 when moved to tst_print_colored during development; later copy wrong code in d132084bc into runtest.sh). Fixes: a7f613372 ("Colorize test type in the output") Fixes: d132084bc ("lib: Add script for running tests") Signed-off-by: Petr Vorel --- lib/newlib_tests/runtest.sh | 3 --- testcases/lib/tst_test.sh | 3 --- 2 files changed, 6 deletions(-) diff --git a/lib/newlib_tests/runtest.sh b/lib/newlib_tests/runtest.sh index f136bcb88..e78b556c5 100755 --- a/lib/newlib_tests/runtest.sh +++ b/lib/newlib_tests/runtest.sh @@ -48,9 +48,6 @@ runtest_res() local res="$1" shift - tst_color_enabled - local color=$? - printf "runtest " >&2 tst_print_colored $res "$res: " >&2 echo "$@" >&2 diff --git a/testcases/lib/tst_test.sh b/testcases/lib/tst_test.sh index a35fa2e7b..356af0106 100644 --- a/testcases/lib/tst_test.sh +++ b/testcases/lib/tst_test.sh @@ -112,9 +112,6 @@ tst_res() local res=$1 shift - tst_color_enabled - local color=$? - _tst_inc_res "$res" printf "$TST_ID $TST_COUNT " >&2 -- 2.37.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp