Sha256: cbe5650473e97ebd055fc925c60e7bb45f7d2e431d5536cb524d28f9eca0a948

Contents?: true

Size: 923 Bytes

Versions: 12

Compression:

Stored size: 923 Bytes

Contents

2011-01-19

RUNNING TESTS

Run the test suite from the net-ssh directory with the following command:

     ruby -Ilib -Itest -rrubygems test/test_all.rb

Run a single test file like this:

     ruby -Ilib -Itest -rrubygems test/transport/test_server_version.rb


EXPECTED RESULTS

* Ruby 1.8: all tests pass

* Ruby 1.9: all tests pass

* JRuby 1.5: 99% tests pass (448 tests, 1846 assertions, 1 failures)


PORT FORWARDING TESTS

     ruby -Ilib -Itest -rrubygems test/manual/test_forward.rb

test_forward.rb must be run separately from the test suite because
it requires authorizing your public SSH keys on you localhost.

If you already have keys you can do this:

     cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

If you don't have keys see:

     http://kimmo.suominen.com/docs/ssh/#ssh-keygen

You should now be able to login to your localhost with out
bring prompted for a password:

     ssh localhost

-Delano

Version data entries

12 entries across 12 versions & 4 rubygems

Version Path
vagrant-actionio-0.0.9 vendor/bundle/gems/net-ssh-2.2.2/test/README.txt
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/README.txt
abiquo-installer-tests-20121026.1 vendor/net-ssh-2.5.2/test/README.txt
abiquo-installer-tests-20121023.3 vendor/net-ssh-2.5.2/test/README.txt
net-ssh-2.6.1 test/README.txt
net-ssh-2.6.0 test/README.txt
net-ssh-2.5.2 test/README.txt
net-ssh-2.2.2 test/README.txt
net-ssh-2.2.1 test/README.txt
net-ssh-2.2.0 test/README.txt
net-ssh-2.1.4 test/README.txt
net-ssh-2.1.3 test/README.txt