• 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.

Steps:

  1. Checked out twiki4 from svn
  2. Configured successfully
  3. pseudo-installed -link default
  4. Registered
  5. chmodded everything g+w so that I can write to everything

Configuration:

  • default plugins linked
  • all files owned by apache user
  • Apache 2, no mod_perl

Ran unit tests individually as myself with results:

  • AccessControlTests, CoreTestSuite, FuncTests, HierarchicalWebs, PrefsTests, RegisterTests, RenameTests, SaveScriptTests, UsersTests, VariableTests
    • repeated messages of the sort Could not write "TWikiGuest | save | WebPreferences |  |  |" to /twiki/vanilla4.example.net/twiki/data/log200606.txt: Permission denied, Temporary web varying depending on test
  • PasswordTests
    • Apache::Htpasswd::htDelete - User notauser not found in /tmp/junkpasswd:  at /twiki/vanilla4. example.net/twiki/lib/TWiki/Users/ApacheHtpasswdUser.pm line 79
  • RcsTests: repeated instances of .../usr/bin/rcsdiff '-q' '-w' '-B' '-r1.1' '-r1.2' '-ko' '--unified=3' '/twiki/vanilla4.example.net/twiki/data/TestRcsWebTests/RcsDiffTest.txt,v' failed: Illegal seek
  • RobustnessTests: .test '1' '-eq' '2' failed: Illegal seek...sh '-c' 'echo urmf; exit 7' failed: Illegal seek..
  • StoreSmokeTests: TestRunner.pl: readline() on closed filehandle FH at /twiki/vanilla4.wildwoodweb.net/twiki/test/unit/TWikiTestCase.pm line 182.

The rest succeeded.

Last time I did this as superuser all succeeded, but that's not supposed to be necessary.


This was resolved on IRC. Don't know why Meredith didn't discard it.

CC


No, actually, it wasn't resolved. That's why i posted this. I am unable to get many of the unit tests to run properly unless i'm superuser, which I'm not supposed to have to be. I hoped that if I listed the specific problems I was having that someone might figure out what the problem is.

This leaves me unable to run most of the units tests, which I know you're trying to encourage people to do.

ML

If the tests reach the end without reporting any failures, then the tests passed. Some tests are nosiy, becuase perl is noisy e.g. the illegal seek can be ignored. If you (the user) doesn't have permission to write to the log files, you will also see non-fatal noise.

Since you don't give any stacktraces above (a failing test will always provide a stacktrace) I have to assume all the tests pass - which is why I discarded this.

CC

ItemTemplate
Summary Major problems with some of the unit tests (apparent permission error problems)
ReportedBy TWiki:Main.MeredithLesly
Codebase ~twiki4
SVN Range Mon, 05 Jun 2006 build 10479
AppliesTo Engine
Component BuildScripts
Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

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