This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
If both ways to call semctl are broken, skip the tests.
[perl5.git] / t / lib / env.t
CommitLineData
1a3850a5
GA
1#!./perl
2
3BEGIN {
4 chdir 't' if -d 't';
93430cb4 5 unshift @INC, '../lib';
1a3850a5
GA
6}
7
8BEGIN {
9 $ENV{FOO} = "foo";
10}
11
12use Env qw(FOO);
13
14$FOO .= "/bar";
15
16print "1..1\n";
17print "not " if $FOO ne 'foo/bar';
18print "ok 1\n";