• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4102: Unit test: InitFormTests fails with Perl 5.6.1

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   minor  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Running unit tests in 5.6.1

14) /var/www/MAIN/test/unit/TWikiTestCase.pm:146 - test_tmpl_form_new(InitFormTests)

and many more

These tests have been broken for ages. it is the test cases that should be made less dependent on CGI version so order of HTML tags is not compared.

The problem here is that the failure are so many that you easily overlook a real failure.

-- TWiki:Main/KennethLavrsen - 21 May 2007

Can we have an update please?

CC

Sorry it took a while. I needed to recompile the VM player to get my test environment running again after a kernel update.

Nothing has changed. Still equally bad. See attachment

-- TWiki:Main.KennethLavrsen - 02 Aug 2007

Looking at what is attached to this report, the problem is with the CGI version you are using (which is not XHTML-compliant) and not with TWiki. The testcase could be written to be more robust. Specifically, your CGI version is generating rows=5 instead of rows="5".

With the fix for Item3667 I believe it should now pass. Note that there are two expected failures, from testcases that I wrote for Urgent bugs that are not yet fixed.

-- TWiki:Main.CrawfordCurrie - 03 Aug 2007

Yes it passed cleanly now. Cool.

I know my CGI is old. That is the whole idea of testing with RedHat 7.3 and Perl 5.6.1. It is to verify that TWiki runs on what we currently say is the oldest junk we support.

Closing as this is not useful in release note.

-- TWiki:Main.KennethLavrsen - 08 Aug 2007

ItemTemplate
Summary Unit test: InitFormTests fails with Perl 5.6.1
ReportedBy TWiki:Main.KennethLavrsen
Codebase ~twiki4
SVN Range TWiki-4.1.2, Fri, 18 May 2007, build 13796
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:14497
TargetRelease minor
ReleasedIn

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2007-08-08 - TWikiUserMapping_KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback