projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58640fb
)
Dokumentation zu t/007broken_links.t
author
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 21 Jan 2011 10:41:13 +0000
(11:41 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 21 Jan 2011 10:41:13 +0000
(11:41 +0100)
t/007broken_links.t
patch
|
blob
|
history
diff --git
a/t/007broken_links.t
b/t/007broken_links.t
index
f0162eb
..
ee0021e
100644
(file)
--- a/
t/007broken_links.t
+++ b/
t/007broken_links.t
@@
-1,5
+1,11
@@
#!/usr/bin/perl
+# adapted from Michael Stevens' test script posted in p5p
+# in the thread "broken links in blead" from 01/19/2011
+#
+# caveats: wikipedia seems to have crawler protection and
+# will give 403 forbidden unless the user agent is faked.
+
use strict;
use File::Find;
use LWP::Simple;