3
# Test that our URLs are "neat"
10
use Test::More qw( no_plan );
19
foreach my $f ( qw! ../etc/rinse.conf ./etc/rinse.conf ! )
21
$file = $f if ( -e $f );
24
ok( $file, "Found configuration file" );
30
open( FILE, "<", $file ) or die "Failed to open $file - $!";
32
foreach my $line ( <FILE> )
37
if( my ( $key , $val ) = split( /=/, $line ) )
42
ok( $val !~ /\/\//, "URL is neat: $val" );