In a test environment set up according to
TWiki:Codev/TestCasesTutorial#SettingUpATestEnvironment
,
if you run "perl ../bin/TestRunner.pl PluginHandlerTests.pm" you get the following error.
Assert checking on 1
Running PluginHandlerTests
PluginHandlerTests::test_afterAttachmentSaveHandler
RCS: copy /home/himazu/trunk/core/pub/TWiki/BehaviourContrib/cssQuery to /home/himazu/trunk/core/pub/TemporaryPluginHandlersSystemWeb/BehaviourContrib/cssQuery failed: Is a directory at /home/himazu/trunk/core/lib/TWiki/Store/RcsFile.pm line 769.
This error occurs in set_up(). The cause is existence of the directory data/TWiki/BehaviourContrib/cssQuery.
This directory needs to be moved somewhere else.
The same error occurs with PrefsTests.pm and RegisterTests.pm as well.
--
TWiki:Main/HideyoImazu
- 2012-04-21
set_up() of those three files have been modified to cope with the issue. And it's much faster by minimizing file copy for fixture creation.
--
TWiki:Main.HideyoImazu
- 2012-07-13
Thank you Hideyo-san! I synched to 5.1 branch and updated the contrib doc. Closing this item...
--
TWiki:Main.PeterThoeny
- 2012-10-06