mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-07 00:00:58 +00:00
Add alexa test run script.
This commit is contained in:
parent
c274b50c50
commit
718c033989
2 changed files with 16 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -32,3 +32,5 @@ Changelog.linkchecker*
|
|||
/LinkChecker-*.exe
|
||||
/LinkChecker.egg-info
|
||||
/todo
|
||||
/alexa*.log
|
||||
|
||||
|
|
|
|||
14
tests/run_alexa_1m.sh
Executable file
14
tests/run_alexa_1m.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
# Run the top 1 million URLs as reported by alexa site monitoring.
|
||||
# The logfile should be searched for internal errors first, then
|
||||
# all unusual errors and warnings should be inspected.
|
||||
#
|
||||
# Note that the result is usually depending on the current location
|
||||
# from where the tests are run.
|
||||
set -u
|
||||
logfile=alexa_1m.log
|
||||
rm -f $logfile
|
||||
for url in $(cat $HOME/src/alexatopsites/top-1m.txt); do
|
||||
./linkchecker -r1 $url >> $logfile 2>&1
|
||||
done
|
||||
|
||||
Loading…
Reference in a new issue