Message130784
test_subprocess was failing for me on my laptop, and my laptop only. With some guidance from haypo on using strace, I tracked the problem down to the fact that the last directory in my path is a directory to which I don't have permission. So the error subprocess was getting from trying to access the non-existent file was "permission denied" (errno 13) instead of not found (errno 2).
It is possible this is an error in subprocess as well, since the shell, for example, returns command not found in that case. But I don't think that it is, since I think the errno is being returned by the exec call. So, I think the test just needs to be changed to ignore errno 13 as well (by name, of course). |
|
Date |
User |
Action |
Args |
2011-03-14 01:49:22 | r.david.murray | set | recipients:
+ r.david.murray |
2011-03-14 01:49:22 | r.david.murray | set | messageid: <1300067362.71.0.164097383701.issue11490@psf.upfronthosting.co.za> |
2011-03-14 01:49:21 | r.david.murray | link | issue11490 messages |
2011-03-14 01:49:21 | r.david.murray | create | |
|