[Buildroot] [git commit branch/2025.05.x] support/testing: TestWget: replace thttpd by Busybox's httpd server

Titouan Christophe titouan.christophe at mind.be
Thu Sep 4 12:11:51 UTC 2025


commit: https://git.buildroot.net/buildroot/commit/?id=bc8f6b5818b8ead122c19cf4e167164c5fad709d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2025.05.x

In order to remove thttpd package from Buildroot, we have to replace it
from TestWget.

Busybox's httpd server doesn't report server identification, update
TestWget accordingly.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/11042295041

Cc: Julien Olivain <ju.o at free.fr>
Signed-off-by: Romain Naour <romain.naour at smile.fr>
Signed-off-by: Arnout Vandecappelle <arnout at rnout.be>
(cherry picked from commit f547af041974ab7f7c52e7640ab22f3a60aa6ab1)
Signed-off-by: Titouan Christophe <titouan.christophe at mind.be>
---
 support/testing/tests/package/test_wget.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/support/testing/tests/package/test_wget.py b/support/testing/tests/package/test_wget.py
index c121cbd21c..7279b77667 100644
--- a/support/testing/tests/package/test_wget.py
+++ b/support/testing/tests/package/test_wget.py
@@ -7,8 +7,8 @@ class TestWget(infra.basetest.BRTest):
     config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
         """
         BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
+        BR2_PACKAGE_BUSYBOX_HTTPD=y
         BR2_PACKAGE_WGET=y
-        BR2_PACKAGE_THTTPD=y
         BR2_TARGET_ROOTFS_CPIO=y
         # BR2_TARGET_ROOTFS_TAR is not set
         """
@@ -47,11 +47,9 @@ class TestWget(infra.basetest.BRTest):
         self.assertEqual(out[0], msg)
 
         # We download one last time, showing the server response. We
-        # check we can see the OK status and our thttpd server
-        # identification.
+        # check we can see the OK status.
         cmd = f"wget --no-verbose --server-response -O /dev/null {url}"
         out, ret = self.emulator.run(cmd)
         self.assertEqual(ret, 0)
         out_str = "\n".join(out)
         self.assertIn("HTTP/1.1 200 OK", out_str)
-        self.assertIn("Server: thttpd/", out_str)


More information about the buildroot mailing list