summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2024-06-06 03:08:27 -0400
committerFlorin Coras <fcoras@cisco.com>2024-06-06 03:08:27 -0400
commit07994a25e836e314587c3c8852979b2a21d16160 (patch)
tree6fb382b40485ee19a4faaa2f6014509ac7e297d9
parent7ad37b5cf5fbcc92ccaf781f4a5ee8fead7960bf (diff)
hs-test: more debug output in http3 test
Type: test Change-Id: I4d2b949f5ef5446c04ca6f35b0bd659ce389170f Signed-off-by: Florin Coras <fcoras@cisco.com>
-rw-r--r--extras/hs-test/http_test.go1
-rwxr-xr-xextras/hs-test/script/nginx_ldp.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/extras/hs-test/http_test.go b/extras/hs-test/http_test.go
index 875d489b343..f7a160c8764 100644
--- a/extras/hs-test/http_test.go
+++ b/extras/hs-test/http_test.go
@@ -90,6 +90,7 @@ func NginxHttp3Test(s *NoTopoSuite) {
args := fmt.Sprintf("curl --noproxy '*' --local-port 55444 --http3-only -k https://%s:8443/%s", serverAddress, query)
curlCont.extraRunningArgs = args
o, err := curlCont.combinedOutput()
+ s.log(o)
s.assertNil(err, fmt.Sprint(err))
s.assertContains(o, "<http>", "<http> not found in the result!")
}
diff --git a/extras/hs-test/script/nginx_ldp.sh b/extras/hs-test/script/nginx_ldp.sh
index 4a22e14aaf7..a6b0a20e47b 100755
--- a/extras/hs-test/script/nginx_ldp.sh
+++ b/extras/hs-test/script/nginx_ldp.sh
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
-LD_PRELOAD=$LDP $@ 2>&1 > /proc/1/fd/1
+$1 -v && LD_PRELOAD=$LDP $@ 2>&1 > /proc/1/fd/1