nose-devs/nose — Issue #131: nose misidentifies files as executable on some OSes (Solaris, AIX)
Author: jpellerin
Created: 2011-12-14 16:01:11+00:00
State: open

What steps will reproduce the problem?
1. Run nosetests on solaris 10 sparc or AIX 7.l

What is the expected output? What do you see instead?
I expect the tests to run (they run on other operating systems).
Instead nose runs 0 tests, and only running them with --exe works, although they do not have execute permissions.

Actually, as it turns out, only tests that HAS execute permissions are run.

As Kumar Mcmillan suggested, I ran the following
>>> import os
>>> os.access("test_something.py", os.X_OK)
True

and that's probably the root cause of the bug.

What version of the product are you using? On what operating system?
python 2.6.2
nose 1.0.0

Noticed this bug both on Solaris 10 sparc and on AIX 7.1
Maybe there are more OSes that behave that way.

Google Code Info:
Issue #: 423
Author: yoni...@gmail.com
Created On: 2011-05-27T19:47:19.000Z
Closed On: