mirror of
https://github.com/curl/curl.git
synced 2026-06-06 10:34:17 +03:00
ech_tests.sh: replace PN abbrev to pacify the typos tool
This commit is contained in:
parent
b3ecec1fc3
commit
c64db54d8f
2 changed files with 6 additions and 6 deletions
2
.github/scripts/typos.toml
vendored
2
.github/scripts/typos.toml
vendored
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
[default]
|
||||
extend-ignore-identifiers-re = [
|
||||
"(ba|BA|FU|Iy|ND|OT|pn|PN|ue|UE)",
|
||||
"(ba|BA|FU|Iy|ND|OT|pn|ue|UE)",
|
||||
"(ben|CNA|ECT|EDE|Jod|kno|MEK|Ned|noo|nto|ser|Typ|URE)",
|
||||
"(admi|alue|CLEA|clen|GOST|HELO|helo|htpt|PASE)",
|
||||
"(HEADE|numer|optin|stati)",
|
||||
|
|
|
|||
|
|
@ -415,15 +415,15 @@ then
|
|||
fi
|
||||
if [[ "$host" == "cloudflare-ech.com" ]]
|
||||
then
|
||||
echo "Skipping $host as they've blocked PN override"
|
||||
echo "Skipping $host as they've blocked public name override"
|
||||
continue
|
||||
fi
|
||||
path=${ech_targets[$targ]}
|
||||
turl="https://$host:$port/$path"
|
||||
echo "PN override check for $turl"
|
||||
echo "Public name override check for $turl"
|
||||
{
|
||||
echo ""
|
||||
echo "PN override check for $turl"
|
||||
echo "Public name override check for $turl"
|
||||
} >> "$logfile"
|
||||
timeout "$tout" "$CURL" "${CURL_PARAMS[@]}" --ech pn:override --ech hard "$turl" >> "$logfile" 2>&1
|
||||
eres=$?
|
||||
|
|
@ -439,8 +439,8 @@ then
|
|||
if [[ "$eres" != "0" ]]
|
||||
then
|
||||
allgood="no"
|
||||
echo "PN override Error ($eres) for $turl" >> "$logfile"
|
||||
echo -e "\tPN override Error ($eres) for $turl"
|
||||
echo "Public name override Error ($eres) for $turl" >> "$logfile"
|
||||
echo -e "\tPublic name override Error ($eres) for $turl"
|
||||
fi
|
||||
echo "" >> "$logfile"
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue