Closed Bug 929575 Opened 11 years ago Closed 11 years ago

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

Categories

(Bugzilla :: Testing Suite, defect)

4.5.1
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 5.0

People

(Reporter: Wurblzap, Assigned: LpSolit)

Details

(Keywords: regression)

Attachments

(1 file)

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.
Attached patch patch, v1Splinter Review
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+
Attachment #821951 - Flags: review?(bugzilla.1.wurblzap)
Flags: approval?
Flags: approval? → approval+
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified Bugzilla/Install/Requirements.pm
Committed revision 8789.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: