Skip to content

Commit 6f746af

Browse files
committed
REGTESTS: use -dW by default on every reg-tests
Every reg-test now runs without any warning, so let's acivate -dW by default so the new ones will inheritate the option. This patch reverts 9d511b3 ("REGTESTS: enable -dW on almost all tests to fail on warnings") and adds -dW in the default HAPROXY_ARGS of scripts/run-regtests.sh instead.
1 parent e1fb9a4 commit 6f746af

File tree

213 files changed

+281
-281
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

213 files changed

+281
-281
lines changed

reg-tests/balance/balance-rr.vtc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ server s4 {
2121
txresp -hdr "Server: s4"
2222
} -repeat 2 -start
2323

24-
haproxy h1 -arg "-L A" -arg '-dW' -conf {
24+
haproxy h1 -arg "-L A" -conf {
2525
defaults
2626
mode http
2727
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"

reg-tests/balance/balance-uri-path-only.vtc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ server s4 {
2222
txresp -hdr "Server: s4" -body "s4"
2323
} -repeat 5 -start
2424

25-
haproxy h1 -arg "-L A" -arg '-dW' -conf {
25+
haproxy h1 -arg "-L A" -conf {
2626
defaults
2727
mode http
2828
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"

reg-tests/balance/balance-uri.vtc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ server s4 {
2121
txresp -hdr "Server: s4"
2222
} -repeat 2 -start
2323

24-
haproxy h1 -arg "-L A" -arg '-dW' -conf {
24+
haproxy h1 -arg "-L A" -conf {
2525
defaults
2626
mode http
2727
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"

reg-tests/cache/basic.vtc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ server s1 {
2222
chunkedlen 0
2323
} -start
2424

25-
haproxy h1 -arg '-dW' -conf {
25+
haproxy h1 -conf {
2626
defaults
2727
mode http
2828
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

reg-tests/cache/caching_rules.vtc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ server s2 {
113113
-bodylen 170
114114
} -start
115115

116-
haproxy h1 -arg '-dW' -conf {
116+
haproxy h1 -conf {
117117
global
118118
# WT: limit false-positives causing "HTTP header incomplete" due to
119119
# idle server connections being randomly used and randomly expiring

reg-tests/cache/expires.vtc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ server s3 {
3939
chunkedlen 0
4040
} -start
4141

42-
haproxy h1 -arg '-dW' -conf {
42+
haproxy h1 -conf {
4343
global
4444
# WT: limit false-positives causing "HTTP header incomplete" due to
4545
# idle server connections being randomly used and randomly expiring

reg-tests/cache/if-modified-since.vtc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ server s1 {
3939
chunkedlen 0
4040
} -start
4141

42-
haproxy h1 -arg '-dW' -conf {
42+
haproxy h1 -conf {
4343
global
4444
# WT: limit false-positives causing "HTTP header incomplete" due to
4545
# idle server connections being randomly used and randomly expiring

reg-tests/cache/if-none-match.vtc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ server s1 {
2424
chunkedlen 0
2525
} -start
2626

27-
haproxy h1 -arg '-dW' -conf {
27+
haproxy h1 -conf {
2828
global
2929
# WT: limit false-positives causing "HTTP header incomplete" due to
3030
# idle server connections being randomly used and randomly expiring

reg-tests/cache/post_on_entry.vtc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ server s1 {
2222

2323
} -start
2424

25-
haproxy h1 -arg '-dW' -conf {
25+
haproxy h1 -conf {
2626
defaults
2727
mode http
2828
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

reg-tests/cache/sample_fetches.vtc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ server s3 {
4141
chunkedlen 0
4242
} -start
4343

44-
haproxy h1 -arg '-dW' -conf {
44+
haproxy h1 -conf {
4545
global
4646
# WT: limit false-positives causing "HTTP header incomplete" due to
4747
# idle server connections being randomly used and randomly expiring

0 commit comments

Comments
 (0)