Author: pburba
Date: Tue May 28 14:20:36 2013
New Revision: 1486931

URL: http://svn.apache.org/r1486931
Log:
* subversion/bindings/swig/ruby/test/windows_util.rb
  (SvnTestUtil.Windows.Svnserve.setup_svnserve): If a path in the PATH
   environment variable doesn't exist, then in addition to ignoring the
   ENOENT error when we try to change the cwd to the non-existent path, jump
   to the next iteration of the loop.  Previously we rescued the error, but
   continued with the loop, looking for binaries in the prior valid cwd.

Found by: danielsh

Modified:
    subversion/trunk/subversion/bindings/swig/ruby/test/windows_util.rb

Modified: subversion/trunk/subversion/bindings/swig/ruby/test/windows_util.rb
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/ruby/test/windows_util.rb?rev=1486931&r1=1486930&r2=1486931&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/ruby/test/windows_util.rb 
(original)
+++ subversion/trunk/subversion/bindings/swig/ruby/test/windows_util.rb Tue May 
28 14:20:36 2013
@@ -106,6 +106,7 @@ module SvnTestUtil
             begin
               Dir.chdir(path)
             rescue Errno::ENOENT
+              next
             end
 
             found_targets = []


Reply via email to