File: 07-export-subdir-subonly.t

package info (click to toggle)
libfindbin-libs-perl 4.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 704 kB
  • sloc: perl: 1,323; sh: 38; makefile: 7
file content (17 lines) | stat: -rw-r--r-- 262 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package Testophile;

use v5.8;

$\ = "\n";
$, = "\n\t";

BEGIN   { mkdir './lib/foo', 0555   }
END     { rmdir './lib/foo'         }

use FindBin::libs qw( export subdir=foo subonly );

use Test::More tests => 1;

ok @lib == 1, 'Found only foo subdir';

__END__