summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklós Fazekas <mfazekas@szemafor.com>2014-08-23 08:11:22 +0200
committerMiklós Fazekas <mfazekas@szemafor.com>2014-08-23 08:11:22 +0200
commit6589c578c8b7842107f796ebcaf5d2597373733d (patch)
tree0e2045baa0402f89bc2233d773fc9c71d2e727b9
parent441d07882645114b5acc764d2b0b83930c6cacd7 (diff)
parent4f1cfa544fb73cf24c2cffbd758408101c22cf7c (diff)
downloadnet-ssh-6589c578c8b7842107f796ebcaf5d2597373733d.tar.gz
Merge pull request #179 from mfazekas/fix_tests
Disabled enqueue packet test for ciphers with no packet data
-rw-r--r--test/transport/test_packet_stream.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/transport/test_packet_stream.rb b/test/transport/test_packet_stream.rb
index c83d9b0..99f0bb8 100644
--- a/test/transport/test_packet_stream.rb
+++ b/test/transport/test_packet_stream.rb
@@ -1678,7 +1678,7 @@ module Transport
hmacs = Net::SSH::Transport::HMAC::MAP.keys
ciphers.each do |cipher_name|
- unless Net::SSH::Transport::CipherFactory.supported?(cipher_name)
+ unless Net::SSH::Transport::CipherFactory.supported?(cipher_name) && PACKETS.has_key?(cipher_name)
puts "Skipping packet stream test for #{cipher_name}"
next
end