Subject: | Test failures if build directory is symlinked |
t/01-run_echo.t and t/02-run_display.t seem to fail if the build directory is symlinked. The situation on one of my smokers:
$ pwd
/home/cpansand/.cpan/build/2016082115/Shell-Cmd-2.11-0
$ perl -MCwd=realpath -E 'say realpath "."'
/tmpfs/.cpan-build-cpansand/2016082115/Shell-Cmd-2.11-0
$ perl5.25.4 -Mblib t/01-run_echo.t
not ok 1 Line 1
# Results : '# SC_ORIG_DIRE=/home/cpansand/.cpan/build/2016082115/Shell
# Expected : '# SC_ORIG_DIRE=/tmpfs/.cpan-build-cpansand/2016082115/Shel
not ok 2 Line 2
# Results : '# SC_DIRE=/home/cpansand/.cpan/build/2016082115/Shell-Cmd-
# Expected : '# SC_DIRE=/tmpfs/.cpan-build-cpansand/2016082115/Shell-Cmd
ok 3 Line 3
ok 4 Line 4
ok 5 Line 5
ok 6 Line 6
ok 7 Line 7
ok 8 Line 8
not ok 9 Line 9
# Results : '# cd /home/cpansand/.cpan/build/2016082115/Shell-Cmd-2.11-
# Expected : '# cd /tmpfs/.cpan-build-cpansand/2016082115/Shell-Cmd-2.11
ok 10 Line 10
ok 11 Line 11
ok 12 Line 12
ok 13 Line 13
ok 14 Line 14
ok 15 Line 15
ok 16 Line 16
ok 17 Line 17
1..17