Skip to content

Commit 0282efe

Browse files
shawnlaffanplicease
authored andcommitted
clean_install tests: flip expectations for system install
system installs now also clean the share dir, so update the test expectations accordingly.
1 parent 2f7e5d5 commit 0282efe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

t/alien_build_plugin_core_cleaninstall.t

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ subtest 'basic' => sub {
3030
ok !-e "$dir/lib/libfoo.a";
3131
};
3232

33-
subtest 'do not remove on system install' => sub {
33+
subtest 'do remove on system install' => sub {
3434

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

5151
ok -d "$dir/_alien";
5252
ok -f "$dir/_alien/alienfile";
53-
ok -f "$dir/foo.txt";
54-
ok -f "$dir/bin/myexe";
55-
ok -f "$dir/include/myheader.h";
56-
ok -f "$dir/lib/libfoo.a";
53+
ok !-e "$dir/foo.txt";
54+
ok !-e "$dir/bin/myexe";
55+
ok !-e "$dir/include/myheader.h";
56+
ok !-e "$dir/lib/libfoo.a";
5757
};
5858

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

0 commit comments

Comments
 (0)