|Subject:||System perl used in tests|
The t/5?-client*.t tests seem to use the system perl, not the perl currently running the test suite. This leads to test failures and possible hanging processes: ... # trying port 5392 Can't locate POE.pm in @INC (@INC contains: /tmpfs/.cpan-build/2015110306/App-KGB-1.33-92CFvR/blib/lib /tmpfs/.cpan-build/2015110306/App-KGB-1.33-92CFvR/blib/arch privinc /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at script/kgb-bot line 402. BEGIN failed--compilation aborted at script/kgb-bot line 402. t/52-client-git.t .............. ... Probably it's best to use $^X here, so instead of tee -a "$dir/reflog" | PERL5LIB=$R/lib $R/script/kgb-client --conf $ccf >> $hook_log 2>&1 it's better to use tee -a "$dir/reflog" | PERL5LIB=$R/lib $^X $R/script/kgb-client --conf $ccf >> $hook_log 2>&1 (untested). Alternatively, you can use the script version installed in blib/script, as this one has the corrected shebang (though this does not work under Windows).