App-Cmd
App-Cmd copied to clipboard
t/tester-exit.t failure
While upgrading the perl-App-Cmd package for Fedora, I got a failure on t/tester-exit.t:
# Failed test 'App::Cmd::Tester source path'
# at t/tester-exit.t line 24.
# got: ''
# expected: '/builddir/build/BUILD/perl-App-Cmd-0.337-build/App-Cmd-0.337/blib/lib/App/Cmd/Tester.pm'
I had to change the line:
(-d 'blib' ? '-Mblib' : ('-I', File::Spec->rel2abs('lib'))),
to
'-I', File::Spec->rel2abs('blib'),
to make it work.