diff --git a/t/003_cwd.t b/t/003_cwd.t index a2ee28b..475dce7 100755 --- a/t/003_cwd.t +++ b/t/003_cwd.t @@ -1,8 +1,7 @@ #!/usr/bin/perl -w use Test::More; use Test::Mock::Net::FTP; -use FindBin; -use lib $FindBin::Bin; +use lib ( '.' ); use t::Util; use strict; use warnings; diff --git a/t/004_put.t b/t/004_put.t index e510379..dfba4a2 100755 --- a/t/004_put.t +++ b/t/004_put.t @@ -3,8 +3,7 @@ use strict; use warnings; use Test::More; use File::Spec::Functions qw(catfile catdir rootdir); -use FindBin; -use lib $FindBin::Bin; +use lib ( '.' ); use t::Util; use Test::Mock::Net::FTP; use Cwd; diff --git a/t/005_get.t b/t/005_get.t index 030ca8e..61810e1 100755 --- a/t/005_get.t +++ b/t/005_get.t @@ -5,8 +5,7 @@ use Test::More; use File::Copy; use File::Spec::Functions qw(catfile); -use FindBin; -use lib $FindBin::Bin; +use lib ( '.' ); use t::Util; use Test::Mock::Net::FTP; use Cwd; diff --git a/t/006_intercept_put.t b/t/006_intercept_put.t index 1ad5292..75de4ef 100755 --- a/t/006_intercept_put.t +++ b/t/006_intercept_put.t @@ -3,8 +3,7 @@ use strict; use warnings; use Test::More; use File::Spec::Functions qw(catfile); -use FindBin; -use lib $FindBin::Bin; +use lib ( '.' ); use t::Util; use Test::Mock::Net::FTP qw(intercept); diff --git a/t/007_intercept_get.t b/t/007_intercept_get.t index ade7780..cf56e53 100755 --- a/t/007_intercept_get.t +++ b/t/007_intercept_get.t @@ -7,8 +7,7 @@ use File::Path qw(remove_tree make_path); use File::Copy; use File::Spec::Functions qw(catfile catdir); use Cwd qw(chdir getcwd); -use FindBin; -use lib $FindBin::Bin; +use lib ( '.' ); use t::Util; use Test::Mock::Net::FTP qw(intercept); use Net::FTP; diff --git a/t/008_override.t b/t/008_override.t index ec3465f..b7787e0 100644 --- a/t/008_override.t +++ b/t/008_override.t @@ -1,8 +1,7 @@ #!/usr/bin/perl -w use strict; use warnings; -use FindBin; -use lib $FindBin::Bin; +use lib ( '.' ); use t::Util; use Test::More; diff --git a/t/009_ls.t b/t/009_ls.t index 2812d81..5380e31 100755 --- a/t/009_ls.t +++ b/t/009_ls.t @@ -7,8 +7,7 @@ use File::Copy; use File::Spec::Functions qw(catfile); use Test::More; -use FindBin; -use lib $FindBin::Bin; +use lib ( '.' ); use t::Util; use Test::Mock::Net::FTP; diff --git a/t/010_dir.t b/t/010_dir.t index 10bc40e..06392a5 100755 --- a/t/010_dir.t +++ b/t/010_dir.t @@ -7,8 +7,7 @@ use File::Path qw(remove_tree make_path); use File::Copy; use File::Spec::Functions qw(catfile catdir); use Test::More; -use FindBin; -use lib $FindBin::Bin; +use lib ( '.' ); use t::Util; use Test::Mock::Net::FTP; diff --git a/t/011_misc_methods.t b/t/011_misc_methods.t index dd6d1df..6b0b4f1 100755 --- a/t/011_misc_methods.t +++ b/t/011_misc_methods.t @@ -3,8 +3,7 @@ use strict; use warnings; use Test::More; -use FindBin; -use lib $FindBin::Bin; +use lib ( '.' ); use t::Util; use Test::Mock::Net::FTP; use File::Spec::Functions qw(catfile); diff --git a/t/012_rename.t b/t/012_rename.t index b4d032a..2ccfff2 100755 --- a/t/012_rename.t +++ b/t/012_rename.t @@ -3,8 +3,7 @@ use strict; use warnings; use Test::More; use File::Spec::Functions qw(catfile); -use FindBin; -use lib $FindBin::Bin; +use lib ( '.' ); use t::Util; use Test::Mock::Net::FTP; diff --git a/t/013_delete.t b/t/013_delete.t index 72f1596..c693272 100755 --- a/t/013_delete.t +++ b/t/013_delete.t @@ -3,8 +3,7 @@ use strict; use warnings; use Test::More; use File::Spec::Functions qw(catfile); -use FindBin; -use lib $FindBin::Bin; +use lib ( '.' ); use t::Util; use Test::Mock::Net::FTP; diff --git a/t/014_mkdir_and_rmdir.t b/t/014_mkdir_and_rmdir.t index cf85611..85b5cb9 100755 --- a/t/014_mkdir_and_rmdir.t +++ b/t/014_mkdir_and_rmdir.t @@ -4,8 +4,7 @@ use warnings; use Test::More; use File::Path qw(remove_tree); use File::Spec::Functions qw(catdir); -use FindBin; -use lib $FindBin::Bin; +use lib ( '.' ); use t::Util; use Test::Mock::Net::FTP; diff --git a/t/015_append.t b/t/015_append.t index a8b7c24..64967fd 100755 --- a/t/015_append.t +++ b/t/015_append.t @@ -3,8 +3,7 @@ use strict; use warnings; use Test::More; use File::Spec::Functions qw(catfile catdir rootdir); -use FindBin; -use lib $FindBin::Bin; +use lib ( '.' ); use t::Util; use Test::Mock::Net::FTP; use Cwd; diff --git a/t/016_clear_message.t b/t/016_clear_message.t index 55ab47a..a7337b7 100644 --- a/t/016_clear_message.t +++ b/t/016_clear_message.t @@ -1,8 +1,7 @@ #!/usr/bin/perl -w use strict; use warnings; -use FindBin; -use lib $FindBin::Bin; +use lib ( '.' ); use t::Util; use Test::More; diff --git a/t/017_command_history.t b/t/017_command_history.t index cc80bd6..e4b93a3 100644 --- a/t/017_command_history.t +++ b/t/017_command_history.t @@ -1,8 +1,7 @@ #!/usr/bin/perl -w use strict; use warnings; -use FindBin; -use lib $FindBin::Bin; +use lib ( '.' ); use t::Util; use Test::More; diff --git a/t/018_default_implementation.t b/t/018_default_implementation.t index a22a3f4..6e58773 100644 --- a/t/018_default_implementation.t +++ b/t/018_default_implementation.t @@ -1,8 +1,7 @@ #!/usr/bin/perl -w use strict; use warnings; -use FindBin; -use lib $FindBin::Bin; +use lib ( '.' ); use t::Util; use Test::More;