Bug 12716 introduced a bug that causes build failure on older Perl, and a warning on newer Perl.
Created attachment 31588 [details] [review] Bug 12918 - fix failing test case A bug in a test case causes test case failure. Test plan: * Run the test cases. * Note that they work.
Created attachment 31592 [details] [review] Bug 12918 - fix failing test case A bug in a test case causes test case failure. It also required a database, so I'm moving it out of the way. Test plan: * Run the test cases. * Note that they work.
Created attachment 31602 [details] [review] Bug 12918 - fix failing test case A bug in a test case causes test case failure. It also required a database, so I'm moving it out of the way. Test plan: 1) prove -v t/db_dependent/Templates.t -- bombs! 2) apply patch 3) prove -v t/db_dependent/Templates.t -- works! Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Created attachment 31606 [details] [review] [SIGNED-OFF] Bug 12918: fix failing test case A bug in a test case causes test case failure. It also required a database, so I'm moving it out of the way. Test plan: 1) prove -v t/db_dependent/Templates.t -- bombs! 2) apply patch 3) prove -v t/db_dependent/Templates.t -- works! Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> Good catch Robin, it didn't fail in Perl 5.18 so didn't notice the mistake.
Created attachment 31609 [details] [review] [PASSED QA] Bug 12918: fix failing test case A bug in a test case causes test case failure. It also required a database, so I'm moving it out of the way. Test plan: 1) prove -v t/db_dependent/Templates.t -- bombs! 2) apply patch 3) prove -v t/db_dependent/Templates.t -- works! Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> Good catch Robin, it didn't fail in Perl 5.18 so didn't notice the mistake. Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
BTW, it fails in 5.14 which is Ubuntu 12.04 LTS default. ;)
Patch pushed to master. Thanks Robin!