further refinement to EISDIR tests from `perl dir`
authorRicardo Signes <rjbs@cpan.org>
Wed, 16 Jan 2013 23:40:44 +0000 (18:40 -0500)
committerRicardo Signes <rjbs@cpan.org>
Fri, 18 Jan 2013 13:04:24 +0000 (08:04 -0500)
commit91514b78cb264f1b259dc267a0aa11f7cc9d8b4a
tree8dfdd06e7d45121d632bd652ae3c20f57b74d208
parentba5e661aead245e882b11d5a1c89fffaedbc29ec
further refinement to EISDIR tests from `perl dir`

1. actually use the EISDIR string, rather than getting it and
   not using it; this was a refactoring screw-up

2. don't hardcode the Win32 EACCES error, either, use the same
   "$!" mechanism
t/run/switches.t