Comment 5 for bug 218276

Revision history for this message
schettino72 (schettino72) wrote :

Hi Benny,

Thanks for testing it. you got baically 3 different errors:

 * DBPermissionsError: (1, 'Operation not permitted')
make sure you have write permission on the test folder. the tests need to create a file...

 * File "D:\Projects\python\doit-0.1.0\lib\doit\task.py", line 117, in execute
    raise TaskFailed("")
doit (like unittests) differentiate a failure from an error. the problem is that different systems use different conventions... see http://en.wikipedia.org/wiki/Exit_status
I was using random non_exitent process name to raise an error. but it seems like you were getting an exit code that on unix means failure. i changed the code to give a better error message. and changed the test to use a specific process that will return always the same code. so it should work now.

* assert "hi from stdout\n" == sys.stdout.getvalue(),sys.stdout.getvalue()
AssertionError: hi from stdout
It was using the echo command. i guess you were getting a different new line character. now the assert error message will give a better description of the error. and it is not using the echo cmd anymore. so it should work.

-----------------------------
Could you please checkout the latest revision (71) and run the tests again?
Could you also test it without using cygwin?