Test 1 fails at Bugzilla's REST resources .pm files if Test-Taint is not installed

RESOLVED FIXED in Bugzilla 5.0

Status

()

Bugzilla
Testing Suite
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: Wurblzap, Assigned: Frédéric Buclin)

Tracking

({regression})

4.5.1
Bugzilla 5.0
regression
Bug Flags:
approval +

Details

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
Without Test-Taint, test 1 fails at all
Bugzilla/WebService/Server/REST/Resources/*.pm:

not ok 194 - use Bugzilla::WebService::Server::REST::Resources::Bug;
#   Failed test 'use Bugzilla::WebService::Server::REST::Resources::Bug;'
#   at t/001compile.t line 37.
#     Tried to use 'Bugzilla::WebService::Server::REST::Resources::Bug'.
#     Error:  Can't locate Test/Taint.pm in @INC (@INC contains: . lib t c:/Perl/site/lib c:/Perl/lib) at Bugzilla/WebService/Util.pm line 17.
# Compilation failed in require at Bugzilla/WebService/Bug.pm line 20.
# BEGIN failed--compilation aborted at Bugzilla/WebService/Bug.pm line 20.
# Compilation failed in require at Bugzilla/WebService/Server/REST/Resources/Bug.pm line 14.
# BEGIN failed--compilation aborted at Bugzilla/WebService/Server/REST/Resources/Bug.pm line 14.
# Compilation failed in require at (eval 214) line 2.
# BEGIN failed--compilation aborted at (eval 214) line 2.
(Assignee)

Comment 1

4 years ago
Created attachment 821951 [details] [diff] [review]
patch, v1
Assignee: testing → LpSolit
Status: NEW → ASSIGNED
Attachment #821951 - Flags: review?(bugzilla.1.wurblzap)
Comment on attachment 821951 [details] [diff] [review]
patch, v1

Fixes the issue for me. r=dkl
Attachment #821951 - Flags: review+
(Assignee)

Updated

4 years ago
Attachment #821951 - Flags: review?(bugzilla.1.wurblzap)
(Assignee)

Updated

4 years ago
Flags: approval?
Flags: approval? → approval+
(Assignee)

Comment 3

4 years ago
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified Bugzilla/Install/Requirements.pm
Committed revision 8789.
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.