8 BEGIN { use lib
qw(. ..); require "stow"; }
10 use Test
::More tests
=> 4;
12 $Option{'defer'} = [ 'man' ];
13 ok
(defer
('man/man1/file.1') => 'simple success');
15 $Option{'defer'} = [ 'lib' ];
16 ok
(!defer
('man/man1/file.1') => 'simple failure');
18 $Option{'defer'} = [ 'lib', 'man', 'share' ];
19 ok
(defer
('man/man1/file.1') => 'complex success');
21 $Option{'defer'} = [ 'lib', 'man', 'share' ];
22 ok
(!defer
('bin/file') => 'complex failure');