Skip to content

Commit 1e7a58f

Browse files
committed
[varnish] fix compression.vtc on mac
1 parent 902fa38 commit 1e7a58f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dev/tests/varnish/compression.vtc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@ server s1 {
2525
# interval to avoid further interference
2626
shell {
2727
# testdir is automatically set to the directory containing the present vtc
28-
sed ${testdir}/../../../app/code/Magento/PageCache/etc/varnish6.vcl > ${tmpdir}/output.vcl \
28+
sed \
2929
-e 's@\.interval = 5s;@.interval = 5m; .initial = 10;@' \
3030
-e 's@/\* {{ host }} \*/@${s1_addr}@' \
3131
-e 's@/\* {{ port }} \*/@${s1_port}@' \
3232
-e 's@/\* {{ ssl_offloaded_header }} \*/@unused@' \
33-
-e 's@/\* {{ grace_period }} \*/@0@'
33+
-e 's@/\* {{ grace_period }} \*/@0@' \
34+
${testdir}/../../../app/code/Magento/PageCache/etc/varnish6.vcl > ${tmpdir}/output.vcl
3435
}
3536

3637
# little trick here: we leverage the fact that subroutines with the same name

0 commit comments

Comments
 (0)