diff mbox series

[1/2] support/testing: Fix s6-portable-utils test

Message ID 20240726-s6-tests-v1-1-fb57b051e87f@gmx.net
State Accepted
Headers show
Series Fix s6-portable-utils runtime tests | expand

Commit Message

J. Neuschäfer July 26, 2024, 8:03 p.m. UTC
s6-test was removed in s6-portable-utils 2.3.0.0, and replaced with
eltest (from execline). This change broke the existing runtime tests
with commit 42fad03182 ("packages: bump skalibs-related packages").

Instead of s6-test simply use the shell built-in "test", which provides
sufficient functionality.

Signed-off-by: J. Neuschäfer <j.neuschaefer@gmx.net>
---
 support/testing/tests/package/test_s6_portable_utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


--
2.43.0
diff mbox series

Patch

diff --git a/support/testing/tests/package/test_s6_portable_utils.py b/support/testing/tests/package/test_s6_portable_utils.py
index 372e3ba812..d4df70cd51 100644
--- a/support/testing/tests/package/test_s6_portable_utils.py
+++ b/support/testing/tests/package/test_s6_portable_utils.py
@@ -28,5 +28,5 @@  class TestS6PortableUtils(infra.basetest.BRTest):

         _, exit_code = self.emulator.run("s6-mkfifo testpipe")
         self.assertEqual(exit_code, 0)
-        _, exit_code = self.emulator.run("s6-test -p testpipe")
+        _, exit_code = self.emulator.run("test -p testpipe")
         self.assertEqual(exit_code, 0)