From ba06b6cb4e25124e807a82a9431a61f7f371a85e Mon Sep 17 00:00:00 2001 From: Kang-min Liu Date: Fri, 22 Jul 2022 00:32:40 +0900 Subject: [PATCH] Adjust a few tests after changing `install` command. Since it would errro when PERLBREW_ROOT is missing, we need to ensure PERLBRE_ROOT exist if we intend to run `install` in the test code. --- t/12.destdir.t | 6 ------ t/12.sitecustomize.t | 6 ------ 2 files changed, 12 deletions(-) diff --git a/t/12.destdir.t b/t/12.destdir.t index a85a42a2..0a2b44dc 100644 --- a/t/12.destdir.t +++ b/t/12.destdir.t @@ -12,12 +12,6 @@ my $DESTDIR = tempdir( CLEANUP => 1 ); use Test::More; -## setup - -App::Perlbrew::Path - ->new($ENV{PERLBREW_ROOT}) - ->rmpath; - ## mock no warnings 'redefine'; diff --git a/t/12.sitecustomize.t b/t/12.sitecustomize.t index ac2f8335..74570fdd 100644 --- a/t/12.sitecustomize.t +++ b/t/12.sitecustomize.t @@ -11,12 +11,6 @@ $ENV{PERLBREW_ROOT} = $App::perlbrew::PERLBREW_ROOT; use Test::More; -## setup - -App::Perlbrew::Path - ->new ($ENV{PERLBREW_ROOT}) - ->rmpath; - ## mock no warnings 'redefine';