- Fix cookie_file test sporadic fails for time change during

the test.
This commit is contained in:
W.C.A. Wijngaards 2024-10-10 09:45:48 +02:00
parent 66fb3ff670
commit e0201435a4
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,7 @@
10 October 2024: Wouter
- Fix cookie_file test sporadic fails for time change during
the test.
9 October 2024: Wouter
- Merge #871: DNS over QUIC. This adds `quic-port: 853` and
`quic-size: 8m` that enable dnsoverquic, and the counters

View file

@ -238,10 +238,12 @@ then
echo "Got the same first cookie in the response while the second secret is active"
exit 1
fi
if ! grep -q "COOKIE: $second_cookie" $outfile
if ! grep -q "COOKIE: .* (good)$" $outfile
then
# dig can generate a different cookie value here than previous cookies.
# but make sure the output contains a valid cookie
cat $outfile
echo "Did not get the same second cookie in the response"
echo "Did not get a valid cookie in the response"
exit 1
fi