[Buildbot-commits] [Buildbot] #2039: rmdir slaveside command return 0 even if it fails

Buildbot nobody at buildbot.net
Mon Aug 1 02:35:10 UTC 2011


#2039: rmdir slaveside command return 0 even if it fails
--------------------+--------------------
Reporter:  in3xes   |       Owner:
    Type:  defect   |      Status:  new
Priority:  minor    |   Milestone:  0.8.5
 Version:  0.8.4p1  |  Resolution:
Keywords:           |
--------------------+--------------------

Comment (by in3xes):

 This is report is kind of wrong too. I tried to fix this when I modified
 rmdir's behavior. I couldn't because there was nothing to fix.

 I wrote - It returns 0 even if the path is invalid. I think in this case
 it is ok return 0, because there's nothing to delete. A fix like checking
 for the path exists or not wouldn't catch that either. Before reporting I
 thought it was not returning the correct value, but it was. I think we can
 close this.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2039#comment:4>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list