This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Get mkdir.t working under miniperl *again*
authorFather Chrysostomos <sprout@cpan.org>
Tue, 9 Sep 2014 03:15:58 +0000 (20:15 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 9 Sep 2014 03:16:13 +0000 (20:16 -0700)
commitdc279b5a1db1232422bb5ee38bf55ca8729210f7
tree4d887e7f676782f03e5459bf13f3b8e2bdfc5850
parentd07e3b4b9ee1680d5bf48722be49f47076b95ada
Get mkdir.t working under miniperl *again*

In commit ca7cc9e26e, I got mkdir.t to pass under miniperl when
Errno.pm has not been generated yet.

The way I did it, though, causes the test to fail under miniperl if
Errno.pm *has* been generated.  The ‘require’ call that tests to
see whether Errno can load ends up resetting $! before we test the
value in %!.

Also, we don’t need require inside a string eval.
t/op/mkdir.t