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 16327C00140 for ; Mon, 8 Aug 2022 10:11:12 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 028703C9539 for ; Mon, 8 Aug 2022 12:11:09 +0200 (CEST) Received: from in-4.smtp.seeweb.it (in-4.smtp.seeweb.it [IPv6:2001:4b78:1:20::4]) (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 921133C91FE for ; Mon, 8 Aug 2022 12:10:26 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (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-4.smtp.seeweb.it (Postfix) with ESMTPS id DB85C1000760 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-out1.suse.de (Postfix) with ESMTPS id 85E153744E; 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; bh=pOHlKRKmgfQ4v0ElA2SWqUTsRmnOB3icFzT9T2b1V7Y=; b=bbMk0VM1KfMsEuZj9jb4A07VSRmeghfStEyv7CMkZiGlxYmEhcas6UULo2W6FF8eryi289 DHbUx+OTgod9XFsNsA39VGzSnYXZag6O5MEy7qD/5lKNMSDqsIR+yPhFeHMBuryGzVc402 VIOM4NMzFjAsyqyULZYF0OMtWmPKXBo= 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; bh=pOHlKRKmgfQ4v0ElA2SWqUTsRmnOB3icFzT9T2b1V7Y=; b=Rpewg+lYn/38AMCNHMZLk2fMrwA3aAEIKZhQtcR7seYetIar3hD2upWSnxnHxJyuJDcaGE ymwBXEFlcS3/IfAw== 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 4DB0413A7C; 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 sLksERDh8GKkAgAAMHmgww (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:15 +0200 Message-Id: <20220808101019.29892-1-pvorel@suse.cz> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-4.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] [PATCH v3 0/4] set -e and bashism fixes 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" changes v2->v3: * 3 new commits (remove unused code + set -e fixes) * remove useless 'exit 0' (Martin) This time I tested it (on both dash and bash), it should be working. But please test it as well. Kind regards, Petr Petr Vorel (4): tst_test.sh: runtest.sh: Remove unused code tst_ansi_color.sh: Allow to run with set -e tst_test.sh: Fix _tst_cleanup_timer() on set -e generate_lvm_runfile.sh: Fix bashism lib/newlib_tests/runtest.sh | 3 --- testcases/lib/tst_ansi_color.sh | 5 +++-- testcases/lib/tst_test.sh | 5 +---- testcases/misc/lvm/generate_lvm_runfile.sh | 5 +++-- 4 files changed, 7 insertions(+), 11 deletions(-) -- 2.37.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp