1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Fix error « can't cd to /sbuild-nonexistent »
In a chrooted environment this test fail, this patch remove the cd command.
Author: Sebastien Badia <seb@sebian.fr>
Origin: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-sshkit.git;a=commit;h=2123c058a59439858b98c611ccb7e2a8c384438a
Forwarded: not-needed
Last-Update: 2014-04-21
--- ruby-sshkit-1.4.0.orig/test/unit/backends/test_local.rb
+++ ruby-sshkit-1.4.0/test/unit/backends/test_local.rb
@@ -11,7 +11,7 @@ module SSHKit
def test_execute
assert_equal true, local.execute('uname -a')
assert_equal true, local.execute
- assert_equal true, local.execute('cd && pwd')
+ assert_equal true, local.execute('pwd')
end
end
end
|