mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-26 17:14:42 +00:00
news test
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@64 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
6c619b7c47
commit
f1cd737005
3 changed files with 10 additions and 3 deletions
6
Makefile
6
Makefile
|
|
@ -1,8 +1,8 @@
|
|||
VERSION=$(shell ./setup.py -V)
|
||||
HOST=treasure.calvinsplayground.de
|
||||
#HOST=treasure.calvinsplayground.de
|
||||
PROXY=
|
||||
#PROXY=-P$(HOST):5050
|
||||
#HOST=fsinfo.cs.uni-sb.de
|
||||
HOST=fsinfo.cs.uni-sb.de
|
||||
#PROXY=-Pwww-proxy.uni-sb.de:3128
|
||||
PACKAGE = linkchecker
|
||||
DEBPACKAGE = $(PACKAGE)_$(VERSION)_i386.deb
|
||||
|
|
@ -42,5 +42,5 @@ test:
|
|||
rm -f test/*.result
|
||||
@for i in test/*.html; do \
|
||||
echo "Testing $$i. Results are in $$i.result"; \
|
||||
./$(PACKAGE) -t0 -v -a $$i > $$i.result 2>&1; \
|
||||
./$(PACKAGE) -t0 -N"news.rz.uni-sb.de" -v -a $$i > $$i.result 2>&1; \
|
||||
done
|
||||
|
|
|
|||
|
|
@ -185,6 +185,7 @@ class Configuration(UserDict.UserDict):
|
|||
timeout = 0
|
||||
except nntplib.error_perm:
|
||||
value = sys.exc_info()[1]
|
||||
self.debug(value)
|
||||
if re.compile("^505").search(str(value)):
|
||||
import whrandom,time
|
||||
time.sleep(whrandom.randint(30,60))
|
||||
|
|
|
|||
6
test/news.html
Normal file
6
test/news.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<a href="news:comp.os.linux.misc">
|
||||
<a href="news:de.comp.os.unix.linux.misc">
|
||||
<a href="news:comp.lang.python">
|
||||
<a href="news:ist.garantiert.nix">
|
||||
<a href="news:">
|
||||
<a href="news:§$%&/´`(§%">
|
||||
Loading…
Reference in a new issue