From patchwork Fri Jul 26 20:03:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 1965412 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WVzH83f03z1yY5 for ; Sat, 27 Jul 2024 06:04:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 436EE40D87; Fri, 26 Jul 2024 20:04:16 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id OZ2uJeHXNpkr; Fri, 26 Jul 2024 20:04:15 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 9BF2540DB7 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 9BF2540DB7; Fri, 26 Jul 2024 20:04:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 74C251BF995 for ; Fri, 26 Jul 2024 20:04:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 60EAC81A18 for ; Fri, 26 Jul 2024 20:04:10 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 6xfQdA0ayNNR for ; Fri, 26 Jul 2024 20:04:09 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.227.17.21; helo=mout.gmx.net; envelope-from=j.neuschaefer@gmx.net; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 4A76280E03 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 4A76280E03 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by smtp1.osuosl.org (Postfix) with ESMTPS id 4A76280E03 for ; Fri, 26 Jul 2024 20:04:08 +0000 (UTC) X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([78.34.233.124]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M4axq-1sWtTE1TAk-00ES9x; Fri, 26 Jul 2024 22:04:06 +0200 Date: Fri, 26 Jul 2024 22:03:53 +0200 MIME-Version: 1.0 Message-Id: <20240726-s6-tests-v1-2-fb57b051e87f@gmx.net> References: <20240726-s6-tests-v1-0-fb57b051e87f@gmx.net> In-Reply-To: <20240726-s6-tests-v1-0-fb57b051e87f@gmx.net> To: buildroot@buildroot.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1722024243; l=1030; i=j.neuschaefer@gmx.net; s=20240329; h=from:subject:message-id; bh=/az9JxRfJWD1zT+oz4DJp6K48prCIREiTCZMmlAuKuo=; b=QdNBlYjn39rDkFlZha0FR4N0fATPxKJCRC3jxzR7n1H8VAY4rb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v8L7FrSOy3POv929ieFgUQvXuVGfZurdALv3OgnTBz25zs7 28nt/iv/e5DwMIW1NLSL7DVuIEd8mHM+pREBa5CSsdA8xDnj9pEXDNYVPvPzU13UAMe6X2aJm k+A+pCcxWWxItaUK0gy6TM7K+Mn9msdgkzpT1vIqleEKgX+ROAwox9F5eyPx5YbsvPFr8pYHC rswxfGiMzqjFZS2XiKy+2/vA== X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1722024246; x=1722629046; i=j.neuschaefer@gmx.net; bh=WCmyEE3qUvTwASkujvf41s+ykVZM0WQppIbB4fL/tSU=; h=X-UI-Sender-Class:From:Date:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:References:In-Reply-To:To:Cc: cc:content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=OybnQpLQnp4shNp13hDGqNfu7YeO67Ji67pKVsbHOad9DUipQRysOJ1ksjpncnaK xO1sfVuasYYxTHhcnMYgm/ab65omG49FnMqAAap5igPc6P4VUj5HzT/9IbTv3h8rU XBAiAKm35AyWQMYr0raSgDlnfu8mIoUBDp5e2DY2xc2pVqGOdxGPzhJNW/hmJMGOJ 8KOTZwpUD1JETA2aChh10DZqxC2aDQFJHeKBGTsHq3QiWLwGVYT8gaSzk6MF1OYLq zaZ2qPWd9sgxfZZzzSW2Ei43aL/ItpnBDcnqqje2zq756BPYA7yPPoXiVShrJTkPx GKwFLDubqcvqPdiNLA== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=gmx.net header.i=j.neuschaefer@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=OybnQpLQ Subject: [Buildroot] [PATCH 2/2] support/testing: Test eltest (part of execline) X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?q?J=2E_Neusch=C3=A4fer_via_buildroot?= From: =?utf-8?q?J=2E_Neusch=C3=A4fer?= Reply-To: =?utf-8?q?J=2E_Neusch=C3=A4fer?= Cc: =?utf-8?q?J=2E_Neusch=C3=A4fer?= , Thomas Petazzoni Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" The previous commit removes s6-test from the runtime tests. This commit adds the same test for eltest, which replaced s6-test. Signed-off-by: J. Neuschäfer --- support/testing/tests/package/test_execline.py | 5 +++++ 1 file changed, 5 insertions(+) -- 2.43.0 diff --git a/support/testing/tests/package/test_execline.py b/support/testing/tests/package/test_execline.py index a7ea36c1a2..15ff92d762 100644 --- a/support/testing/tests/package/test_execline.py +++ b/support/testing/tests/package/test_execline.py @@ -21,3 +21,8 @@ class TestExecline(infra.basetest.BRTest): output, exit_code = self.emulator.run("execlineb -c 'echo hello world'") self.assertEqual(exit_code, 0) self.assertEqual(output[0].strip(), "hello world") + + _, exit_code = self.emulator.run("mkfifo testpipe") + self.assertEqual(exit_code, 0) + _, exit_code = self.emulator.run("execlineb -c 'eltest -p testpipe'") + self.assertEqual(exit_code, 0)