resolve test directory
authorMischa POSLAWSKY <perl@shiar.org>
Thu, 5 Jun 2008 17:47:14 +0000 (17:47 +0000)
committerMischa POSLAWSKY <perl@shiar.org>
Thu, 5 Jun 2008 17:55:56 +0000 (17:55 +0000)
commitb6ecc856f9ee83de1465613f74e6eb585d38cf21
tree01e78405c2fe2cba0463ee4bece9b38a123fc21d
parent99f798d436793924b931174d4fdc3de715ef03b7
resolve test directory

File::Spec->tmpdir may return a symlink as well, so
c41c902ca6fd9f8e352267be64d (test in directories provided by Test::Spec)
still didn't fix darwin (in all cases).

The darwin I tested on gave a tmpdir like:
/var/folders/OJ/OJjGh2I+HBOinZB8Re8QVU+++TI/-Tmp-
but cpantesters machines are still using a symlinked /tmp.

Use Cwd to find the real path name, hopefully fixing all remaining cases.
t/50-cgi.t