Skip to content

Commit

Permalink
clean_install tests: flip expectations for system install
Browse files Browse the repository at this point in the history
system installs now also clean the share dir,
so update the test expectations accordingly.
  • Loading branch information
shawnlaffan committed Oct 29, 2024
1 parent 9e954e8 commit 24bdcf5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions t/alien_build_plugin_core_cleaninstall.t
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ subtest 'basic' => sub {
ok !-e "$dir/lib/libfoo.a";
};

subtest 'do not remove on system install' => sub {
subtest 'do remove on system install' => sub {

my $build = alienfile_ok q{
use alienfile;
Expand All @@ -50,10 +50,10 @@ subtest 'do not remove on system install' => sub {

ok -d "$dir/_alien";
ok -f "$dir/_alien/alienfile";
ok -f "$dir/foo.txt";
ok -f "$dir/bin/myexe";
ok -f "$dir/include/myheader.h";
ok -f "$dir/lib/libfoo.a";
ok !-e "$dir/foo.txt";
ok !-e "$dir/bin/myexe";
ok !-e "$dir/include/myheader.h";
ok !-e "$dir/lib/libfoo.a";
};

subtest 'do not try to remove when it isn\'t there' => sub {
Expand Down

0 comments on commit 24bdcf5

Please sign in to comment.