test/tc_integration.rb in net-ssh-1.0.3 vs test/tc_integration.rb in net-ssh-1.0.4

- old
+ new

@@ -1,8 +1,8 @@ #-- # ============================================================================= -# Copyright (c) 2004,2005 Jamis Buck (jamis_buck@byu.edu) +# Copyright (c) 2004,2005 Jamis Buck (jamis@37signals.com) # All rights reserved. # # This source file is distributed as part of the Net::SSH Secure Shell Client # library for Ruby. This file (and the library as a whole) may be used only as # allowed by either the BSD license, or the Ruby license (or, by association @@ -12,10 +12,10 @@ # net-ssh website : http://net-ssh.rubyforge.org # project website: http://rubyforge.org/projects/net-ssh # ============================================================================= #++ -$:.unshift "../lib" +$:.unshift "#{File.dirname(__FILE__)}/../lib" if $run_integration_tests || __FILE__ == $0 require 'net/ssh/session' require 'test/unit'