Skip to content

Commit

Permalink
Revert "Added module for fetching files over HTTP"
Browse files Browse the repository at this point in the history
This reverts commit 21abb3b.
  • Loading branch information
Hubert depesz Lubaczewski committed Apr 1, 2013
1 parent 069e076 commit eac7b03
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 166 deletions.
10 changes: 0 additions & 10 deletions bin/sanity-check.sh
Expand Up @@ -89,16 +89,6 @@ then
ERRORS[$ERRORS_COUNT]="tar (in \$PATH) is either not gnu tar, or gnu tar earlier than required 1.20" ERRORS[$ERRORS_COUNT]="tar (in \$PATH) is either not gnu tar, or gnu tar earlier than required 1.20"
fi fi


# other checks

echo "Ability to fetch over http"

if ! perl -I"$LIB_DIR/" -e 'use OmniPITR::Tools::NetGet; OmniPITR::Tools::NetGet::_pick_download_method()' 2> /dev/null
then
ERRORS_COUNT=$(( 1 + $ERRORS_COUNT ))
ERRORS[$ERRORS_COUNT]="There is none of: LWP::UserAgent perl module, wget program nor curl program available"
fi

# Report of status # Report of status


if [[ $WARNINGS_COUNT -gt 0 ]] if [[ $WARNINGS_COUNT -gt 0 ]]
Expand Down
154 changes: 0 additions & 154 deletions lib/OmniPITR/Tools/NetGet.pm

This file was deleted.

3 changes: 1 addition & 2 deletions t/00-load.t
@@ -1,6 +1,6 @@
#!perl -T #!perl -T


use Test::More tests => 30; use Test::More tests => 29;


BEGIN { BEGIN {
use_ok( 'OmniPITR::Log' ) || print "Bail out on OmniPITR::Log\n"; use_ok( 'OmniPITR::Log' ) || print "Bail out on OmniPITR::Log\n";
Expand Down Expand Up @@ -31,7 +31,6 @@ BEGIN {
use_ok( 'OmniPITR::Program::Synch' ) || print "Bail out on OmniPITR::Program::Synch\n"; use_ok( 'OmniPITR::Program::Synch' ) || print "Bail out on OmniPITR::Program::Synch\n";
use_ok( 'OmniPITR::Tools' ) || print "Bail out on OmniPITR::Tools\n"; use_ok( 'OmniPITR::Tools' ) || print "Bail out on OmniPITR::Tools\n";
use_ok( 'OmniPITR::Tools::CommandPiper' ) || print "Bail out on OmniPITR::Tools::CommandPiper\n"; use_ok( 'OmniPITR::Tools::CommandPiper' ) || print "Bail out on OmniPITR::Tools::CommandPiper\n";
use_ok( 'OmniPITR::Tools::NetGet' ) || print "Bail out on OmniPITR::Tools::NetGet\n";
use_ok( 'OmniPITR::Tools::ParallelSystem' ) || print "Bail out on OmniPITR::Tools::ParallelSystem\n"; use_ok( 'OmniPITR::Tools::ParallelSystem' ) || print "Bail out on OmniPITR::Tools::ParallelSystem\n";
} }


Expand Down

0 comments on commit eac7b03

Please sign in to comment.