File: fix-test-inheritance.patch

package info (click to toggle)
ruby-net-ssh 1%3A2.5.2-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,252 kB
  • sloc: ruby: 12,000; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 915 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- a/test/transport/kex/test_diffie_hellman_group_exchange_sha256.rb
+++ b/test/transport/kex/test_diffie_hellman_group_exchange_sha256.rb
@@ -1,5 +1,6 @@
 require 'common'
 require 'net/ssh/transport/kex/diffie_hellman_group_exchange_sha1'
+require 'transport/kex/test_diffie_hellman_group_exchange_sha1'
 
 module Transport; module Kex
 
--- a/test/transport/kex/test_ecdh_sha2_nistp384.rb
+++ b/test/transport/kex/test_ecdh_sha2_nistp384.rb
@@ -1,4 +1,5 @@
 require 'openssl'
+require 'transport/kex/test_ecdh_sha2_nistp256'
 
 unless defined?(OpenSSL::PKey::EC)
   puts "Skipping tests for ecdh-sha2-nistp384 key exchange"
--- a/test/transport/kex/test_ecdh_sha2_nistp521.rb
+++ b/test/transport/kex/test_ecdh_sha2_nistp521.rb
@@ -1,4 +1,5 @@
 require 'openssl'
+require 'transport/kex/test_ecdh_sha2_nistp256'
 
 unless defined?(OpenSSL::PKey::EC)
   puts "Skipping tests for ecdh-sha2-nistp521 key exchange"