File: fix_test03

package info (click to toggle)
libvmod-curl 0.0~git20250603-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 224 kB
  • sloc: ansic: 577; sh: 66; makefile: 42
file content (16 lines) | stat: -rw-r--r-- 472 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From: Marco d'Itri <md@linux.it>
Subject: fix test03 for the Debian 13 curl error message

--- a/src/tests/test03.vtc
+++ b/src/tests/test03.vtc
@@ -20,6 +20,10 @@ varnish v1 -vcl+backend {
 		if (resp.http.x-error == "couldn't connect to server") {
 			set resp.http.x-error = "Couldn't connect to server";
 		}
+		# For Debian 13
+		if (resp.http.x-error == "Could not connect to server") {
+			set resp.http.x-error = "Couldn't connect to server";
+		}
 	}
 } -start