https://bugzilla.redhat.com/show_bug.cgi?id=1797943
Bug ID: 1797943
Summary: t/02_module_pod_output.t may fail if run as root
Product: Fedora
Version: 31
Hardware: All
OS: Linux
Status: NEW
Component: perl-Pod-Perldoc
Severity: medium
Assignee: ppisar(a)redhat.com
Reporter: 1014938109(a)qq.com
QA Contact: extras-qa(a)fedoraproject.org
CC: perl-devel(a)lists.fedoraproject.org, ppisar(a)redhat.com
Target Milestone: ---
Classification: Fedora
Description of problem:
t/02_module_pod_output.t may fail if run as root
Version-Release number of selected component (if applicable):
perl-Pod-Perldoc-3.28.01-443.fc32
How reproducible:
run make test as root
Steps to Reproduce:
1.run rpmbuild perl-Pod-Perldoc as root user
2.
3.
Actual results:
+ make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM"
"-MTest::Harness"
"-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib',
'blib/arch')"
t/*.t t/*/*.t
t/00_load.t ............... ok
t/01_about_verbose.t ...... ok
t/02_module_pod_output.t .. 1/7
# Failed test 'got expected output in STDOUT'
# at t/02_module_pod_output.t line 47.
# undef
# doesn't match '(?^:Look up Perl documentation)'
# Failed test 'got expected output in STDERR'
# at t/02_module_pod_output.t line 80.
# 'Can't find any loadable formatter class in
Pod::Perldoc::Totext Pod::Perldoc::Totext Pod::Perldoc::ToText
Pod::Perldoc::ToTEXT Pod::Simple::text Pod::Simple::text Pod::Simple::Text
Pod::Simple::TEXT Pod::text Pod::text Pod::Text Pod::TEXT Pod::Perldoc::ToPod?!
# Aborting
# at /root/rpmbuild/BUILD/Pod-Perldoc-3.28/blib/script/perldoc line 6.
# '
# doesn't match '(?^:No documentation)'
# Looks like you failed 2 tests of 7.
Expected results:
success
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.