citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit b2a9527994ca99f11ba7e0adb2f03eb1eaf60bb1
parent 904f7e7599f01c285e4e4360c7c976ac5c994b7c
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Mon,  4 Apr 2016 19:56:22 -0600

www: add new link test

Diffstat:
Awww/t/link_check.t | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/www/t/link_check.t b/www/t/link_check.t @@ -0,0 +1,11 @@ +use strict; +use Test::More tests => 1; + +# --spider: don't download the page +# -r: recursive retrieval +# -nd: don't create local dirs +# -nv: turn off extra downloading output +# -H: span accross hosts +# -l: recursion level +my $ret = system( "wget --spider -r -nd -nv -H -l 1 http://citrun.com" ); +is( $ret, 0, "http://citrun.com/ has no broken links" );