diff options
| author | delano <delano@solutious.com> | 2010-03-16 11:17:52 -0400 |
|---|---|---|
| committer | delano <delano@solutious.com> | 2010-03-16 11:17:52 -0400 |
| commit | 8a9a93d6d3144bb68077fc0ef00b696b46f72de0 (patch) | |
| tree | 0d60ab7fc13b79b1dd10d11d764665ea0fd7992b /test | |
| parent | c3a01f4365886575f9d1e59c3a8d0ad4f17500f8 (diff) | |
| download | net-ssh-8a9a93d6d3144bb68077fc0ef00b696b46f72de0.tar.gz | |
Added test/README.txt
Diffstat (limited to 'test')
| -rw-r--r-- | test/README.txt | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/test/README.txt b/test/README.txt new file mode 100644 index 0000000..d1d2848 --- /dev/null +++ b/test/README.txt @@ -0,0 +1,42 @@ +2010-03-16 + +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.4: 96% tests pass (242 tests, 554 assertions, 0 failures, 8 errors) + + +PORT FORWARDING TESTS + + ruby -Ilib -Itest -rrubygems test/endtoend/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 + |
