Skip relays in prcheck
This commit is contained in:
parent
d12595bd48
commit
a117af84f1
5
.github/workflows/prcheck.sh
vendored
5
.github/workflows/prcheck.sh
vendored
@ -53,9 +53,12 @@ while read -r stamp; do
|
||||
./dnscrypt-proxy -config "$CONFIG" -pidfile "$PIDFILE" -logfile "$LOGFILE" -loglevel 1 &
|
||||
sleep 5
|
||||
skip_log=false
|
||||
if grep -q 'ERROR.*\[.*:.*]:' "$LOGFILE"; then
|
||||
if grep -q 'DNSCrypt relay' "$LOGFILE"; then
|
||||
echo "(skipping due to IPv6 not being supported by GitHub Actions)"
|
||||
skip_log=true
|
||||
elif grep -q 'ERROR.*\[.*:.*]:' "$LOGFILE"; then
|
||||
echo "(skipping due to relays not being handled by this test)"
|
||||
skip_log=true
|
||||
elif ! ./dnscrypt-proxy -config "$CONFIG" -resolve example.com; then
|
||||
echo "** UNABLE TO GET A RESPONSE FROM THE RESOLVER **"
|
||||
echo "Bogus stamp: ${stamp}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user