App-Cmd icon indicating copy to clipboard operation
App-Cmd copied to clipboard

t/tester-exit.t failure

Open eseyman opened this issue 1 year ago • 0 comments

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.

eseyman avatar Mar 02 '25 11:03 eseyman