1N/A chdir 't' if -d 't'; 1N/A if (!eval "require Socket") { 1N/A print "1..0 # no Socket\n"; exit 0; 1N/A if (ord('A') == 193 && !eval "require Convert::EBCDIC") { 1N/A print "1..0 # EBCDIC but no Convert::EBCDIC\n"; exit 0; 1N/A 'requires_firewall() should return 0 without ftp_firewall defined' ); 1N/A '... should return -1 without a valid hostname' ); 1N/A '... should return 0 without local_netmask defined' ); 1N/A '... should return false if host is within netmask' ); 1N/A '... should return true if host is outside netmask' ); 1N/A# now try more netmasks 1N/A '... should find success with mutiple local netmasks' ); 1N/A '... should handle failure with multiple local netmasks' ); 1N/A 'is_external() should be an alias for requires_firewall()' );