Skip to content

Commit 81730df

Browse files
authored
test
1 parent da6b819 commit 81730df

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

scripts/check_urls.sh

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,20 @@
77

88
set -x
99

10-
ua="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36"
11-
url="https://wiki.mozilla.org/Abstract_Interpretation"
12-
jar="/tmp/ci_cookies.txt"
10+
curl -sSI -o /dev/null -w '%{http_code}\n' \
11+
'https://wiki.mozilla.org/Abstract_Interpretation?action=raw'
1312

14-
curl -s -c "$jar" -A "$ua" --compressed "$url"
13+
curl -sSI -o /dev/null -w '%{http_code}\n' \
14+
'https://wiki.mozilla.org/Abstract_Interpretation?printable=yes'
1515

16-
curl -s -b "$jar" -o /dev/null -w 'HEAD→%{http_code}\n' -I -A "$ua" "$url"
16+
curl -sSI -o /dev/null -w '%{http_code}\n' \
17+
https://repo1.maven.org/maven2/org/pytorch/executorch-android/maven-metadata.xml
1718

18-
curl -s -b "$jar" -o /dev/null -w 'RANGE→%{http_code}\n' --range 0-0 -A "$ua" "$url"
19+
curl -sSI -o /dev/null -w '%{http_code}\n' \
20+
https://www.cadence.com/robots.txt
1921

20-
curl -s -b "$jar" -o /dev/null -w 'GET →%{http_code}\n' -A "$ua" "$url"
22+
curl -sSI -o /dev/null -w '%{http_code}\n' \
23+
https://www.cadence.com/en_US/home/tools/silicon-solutions/compute-ip/hifi-dsps/hifi-4.html
2124

2225
set -euo pipefail
2326

0 commit comments

Comments
 (0)