Closed
Bug 1851412
Opened 2 years ago
Closed 2 years ago
Use of uninitialized value $dbd in concatenation (.) or string at t/001compile.t line 90.
Categories
(Bugzilla :: Testing Suite, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: triage, Assigned: justdave)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
bugzilla-5.2# perl runtests.pl
t/001compile.t ....... 87/232 Use of uninitialized value $dbd in concatenation (.) or string at t/001compile.t line 90.
Use of uninitialized value $dbd in concatenation (.) or string at t/001compile.t line 90.
t/001compile.t ....... ok
It doesn't fail the test, but it looks bad.
Reporter | ||
Comment 1•2 years ago
|
||
with --verbose, I get this:
ok 112 - use Bugzilla::DB::Sqlite;
ok 113 - use Bugzilla::DB::Mysql;
Use of uninitialized value $dbd in concatenation (.) or string at t/001compile.t line 90.
Use of uninitialized value $dbd in concatenation (.) or string at t/001compile.t line 90.
ok 114 # skip Bugzilla/DB/QuoteIdentifier.pm: not installed
ok 115 # skip Bugzilla/DB/Pg.pm: DBD::Pg not installed
ok 116 # skip Bugzilla/DB/Oracle.pm: DBD::Oracle not installed
Looks like the new Bugzilla/DB/QuoteIdentifier.pm is at fault, which makes this a regression from bug 1592129
Keywords: regression
Regressed by: 1592129
Reporter | ||
Comment 2•2 years ago
|
||
There's multiple commits on that bug, it's this one specifically:
https://github.com/bugzilla/bugzilla/commit/35210c061e2ef7831624eafbc69cdbae08dc3d57
Assignee | ||
Comment 3•2 years ago
|
||
Oops, didn't realize I was in the container with the other account loaded, this was me filing this.
Assignee | ||
Comment 4•2 years ago
|
||
Bugzilla/DB/QuoteIdentifier.pm is not a DB driver module, it's a DB utility module. The correct fix is probably to add it to the exclusion list for that specific test (just like Bugzilla/DB/Schema.pm already is).
Assignee | ||
Comment 5•2 years ago
|
||
Assignee: testing → justdave
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee | ||
Comment 6•2 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•