Ensure t/op/stat.t passes under minitest if File::Spec is unavailable.
authorNicholas Clark <nick@ccl4.org>
Sun, 6 Mar 2011 18:15:43 +0000 (18:15 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 6 Mar 2011 20:39:57 +0000 (20:39 +0000)
commit563ff921d7b97889a3a611987ca6f2f250c5b876
tree78f39f054fb8f6292d5b79ab03def7aabee42c7d
parent94af928955a63fcd4496a7acdd670b5237b2a3eb
Ensure t/op/stat.t passes under minitest if File::Spec is unavailable.

require File::Spec in an eval. For miniperl, if the eval fails, skip tests
relating to File::Spec->devnull() and needing File::Spec->rel2abs(), and assume
that '.' will work as the current directory. Remove a call to catfile() only
needed for MacOS Classic - every other platform will accept Unix-style paths.
t/op/stat.t