jozef/Module-Build-SysPath — Issue #4: 01_Module-Build-SysPath.t fails
Author: Xiong
Created: 2011-10-16 00:21:06+00:00
State: open

Hi Jozef,

My interpreter is installed in a non-standard location: /rig/bin/perl -- and similar departures from standard for lib/, etc. This is done so as not to conflict with the system perl installed in the expected /usr/bin/perl.

This test fails with:

# Failed test 'Acme::Test::SysPath install folders'
# at t/01_Module-Build-SysPath.t line 63.
# Only in /tmp/34yD0ieBmh: rig

... and sure enough, there is an extra /tmp/riCSPFl8wA/rig/html/site/lib/Acme/Test/ with the following contents:

drwxr-xr-x 2 xiong xiong 4096 2011-10-15 17:03 SysPath
-r--r--r-- 1 xiong xiong 1350 2011-10-15 17:03 SysPath.html

Nothing seems to correspond to this in build/Module-Build-SysPath-0.16-Z9cjGc/t/tdirs/Acme-Test-SysPath.installed and so Test::Dirs::is_dir() quite correctly fails.

Since users can and will install perl almost anywhere, I have to call this a bug, sorry.

Xiong Changnian
XIONG@cpan.org