Re: [PATCH] CwdXS, Take 2
[p5sagit/p5-mst-13.2.git] / t / lib / cwd.t
index fa4750e..f852a27 100644 (file)
@@ -23,6 +23,10 @@ print +(!defined(&chdir) &&
        !defined(&fast_abs_path) ?
        "" : "not "), "ok 2\n";
 
+# XXX force Cwd to bootsrap its XSUBs since we have set @INC = "../lib"
+# XXX and subsequent chdir()s can make them impossible to find
+eval { fastcwd };
+
 # Must find an external pwd (or equivalent) command.
 
 my $pwd_cmd =