From 24bdcf5e3a486442709889c85875b2fa9398afe0 Mon Sep 17 00:00:00 2001 From: shawnlaffan Date: Tue, 29 Oct 2024 12:15:12 +1100 Subject: [PATCH] clean_install tests: flip expectations for system install system installs now also clean the share dir, so update the test expectations accordingly. --- t/alien_build_plugin_core_cleaninstall.t | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/t/alien_build_plugin_core_cleaninstall.t b/t/alien_build_plugin_core_cleaninstall.t index 90de949e..9e0bfcc9 100644 --- a/t/alien_build_plugin_core_cleaninstall.t +++ b/t/alien_build_plugin_core_cleaninstall.t @@ -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; @@ -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 {