From 02f652cf1645d69d6db61ddebe71ba5f69b49c91 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Sat, 23 Aug 2025 21:49:52 +0200 Subject: [PATCH] support/testing: TestLibCurl: replace thttpd by Busybox's httpd server In order to remove thttpd package from Buildroot, we have to replace it from TestLibCurl. Busybox's httpd server doesn't report server identification, update TestLibCurl accordingly. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/11042294712 Cc: Julien Olivain Signed-off-by: Romain Naour Signed-off-by: Arnout Vandecappelle (cherry picked from commit 667871b06d92b58bc86c668fdef1df8a9c60b5a9) Signed-off-by: Titouan Christophe --- support/testing/tests/package/test_libcurl.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/support/testing/tests/package/test_libcurl.py b/support/testing/tests/package/test_libcurl.py index b326f9308f..076a5388ca 100644 --- a/support/testing/tests/package/test_libcurl.py +++ b/support/testing/tests/package/test_libcurl.py @@ -8,7 +8,7 @@ class TestLibCurl(infra.basetest.BRTest): """ BR2_PACKAGE_LIBCURL=y BR2_PACKAGE_LIBCURL_CURL=y - BR2_PACKAGE_THTTPD=y + BR2_PACKAGE_BUSYBOX_HTTPD=y BR2_TARGET_ROOTFS_CPIO=y # BR2_TARGET_ROOTFS_TAR is not set """ @@ -45,11 +45,9 @@ class TestLibCurl(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"curl --no-progress-meter --dump-header - -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)