summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDelano Mandelbaum <delano.mandelbaum@gmail.com>2013-07-06 08:27:17 -0700
committerDelano Mandelbaum <delano.mandelbaum@gmail.com>2013-07-06 08:27:17 -0700
commitf133721ef9594b55658ac1d5e1b002b4513babda (patch)
treecdb35fecd178d139da90ac152772c0d65d8d1df2
parent3578ddbc5239df9560a79ba8f51b96b392fd9657 (diff)
parentf3f09edf94a3930e0ef9b87574f6dbcf2aa1255c (diff)
downloadnet-ssh-f133721ef9594b55658ac1d5e1b002b4513babda.tar.gz
Merge pull request #88 from voxik/fix-r2.0-encoding
Fix encoding issues with Ruby 2.0 (#87).
-rw-r--r--test/test_buffer.rb2
-rw-r--r--test/transport/hmac/test_md5.rb2
-rw-r--r--test/transport/hmac/test_md5_96.rb2
-rw-r--r--test/transport/hmac/test_ripemd160.rb2
-rw-r--r--test/transport/hmac/test_sha1.rb2
-rw-r--r--test/transport/hmac/test_sha1_96.rb2
-rw-r--r--test/transport/hmac/test_sha2_256.rb2
-rw-r--r--test/transport/hmac/test_sha2_256_96.rb2
-rw-r--r--test/transport/hmac/test_sha2_512.rb2
-rw-r--r--test/transport/hmac/test_sha2_512_96.rb2
-rw-r--r--test/transport/test_cipher_factory.rb2
-rw-r--r--test/transport/test_packet_stream.rb2
-rw-r--r--test/transport/test_state.rb2
13 files changed, 26 insertions, 0 deletions
diff --git a/test/test_buffer.rb b/test/test_buffer.rb
index 840c528..74d40aa 100644
--- a/test/test_buffer.rb
+++ b/test/test_buffer.rb
@@ -1,3 +1,5 @@
+# encoding: ASCII-8BIT
+
require 'common'
require 'net/ssh/buffer'
diff --git a/test/transport/hmac/test_md5.rb b/test/transport/hmac/test_md5.rb
index d7854f2..7cae775 100644
--- a/test/transport/hmac/test_md5.rb
+++ b/test/transport/hmac/test_md5.rb
@@ -1,3 +1,5 @@
+# encoding: ASCII-8BIT
+
require 'common'
require 'net/ssh/transport/hmac/md5'
diff --git a/test/transport/hmac/test_md5_96.rb b/test/transport/hmac/test_md5_96.rb
index 575447b..41c5e11 100644
--- a/test/transport/hmac/test_md5_96.rb
+++ b/test/transport/hmac/test_md5_96.rb
@@ -1,3 +1,5 @@
+# encoding: ASCII-8BIT
+
require 'common'
require 'transport/hmac/test_md5'
require 'net/ssh/transport/hmac/md5_96'
diff --git a/test/transport/hmac/test_ripemd160.rb b/test/transport/hmac/test_ripemd160.rb
index 5210c97..8255a73 100644
--- a/test/transport/hmac/test_ripemd160.rb
+++ b/test/transport/hmac/test_ripemd160.rb
@@ -1,3 +1,5 @@
+# encoding: ASCII-8BIT
+
require 'common'
require 'net/ssh/transport/hmac/ripemd160'
diff --git a/test/transport/hmac/test_sha1.rb b/test/transport/hmac/test_sha1.rb
index 4be100a..1cc133a 100644
--- a/test/transport/hmac/test_sha1.rb
+++ b/test/transport/hmac/test_sha1.rb
@@ -1,3 +1,5 @@
+# encoding: ASCII-8BIT
+
require 'common'
require 'net/ssh/transport/hmac/sha1'
diff --git a/test/transport/hmac/test_sha1_96.rb b/test/transport/hmac/test_sha1_96.rb
index 866e15a..725e7d1 100644
--- a/test/transport/hmac/test_sha1_96.rb
+++ b/test/transport/hmac/test_sha1_96.rb
@@ -1,3 +1,5 @@
+# encoding: ASCII-8BIT
+
require 'common'
require 'transport/hmac/test_sha1'
require 'net/ssh/transport/hmac/sha1_96'
diff --git a/test/transport/hmac/test_sha2_256.rb b/test/transport/hmac/test_sha2_256.rb
index a01fd24..aa6bd6e 100644
--- a/test/transport/hmac/test_sha2_256.rb
+++ b/test/transport/hmac/test_sha2_256.rb
@@ -1,3 +1,5 @@
+# encoding: ASCII-8BIT
+
require 'common'
require 'net/ssh/transport/hmac/sha2_256'
diff --git a/test/transport/hmac/test_sha2_256_96.rb b/test/transport/hmac/test_sha2_256_96.rb
index 8257a43..34105ef 100644
--- a/test/transport/hmac/test_sha2_256_96.rb
+++ b/test/transport/hmac/test_sha2_256_96.rb
@@ -1,3 +1,5 @@
+# encoding: ASCII-8BIT
+
require 'common'
require 'transport/hmac/test_sha2_256'
require 'net/ssh/transport/hmac/sha2_256_96'
diff --git a/test/transport/hmac/test_sha2_512.rb b/test/transport/hmac/test_sha2_512.rb
index 25a92af..7237613 100644
--- a/test/transport/hmac/test_sha2_512.rb
+++ b/test/transport/hmac/test_sha2_512.rb
@@ -1,3 +1,5 @@
+# encoding: ASCII-8BIT
+
require 'common'
require 'net/ssh/transport/hmac/sha2_512'
diff --git a/test/transport/hmac/test_sha2_512_96.rb b/test/transport/hmac/test_sha2_512_96.rb
index 6de7d2f..4a89a53 100644
--- a/test/transport/hmac/test_sha2_512_96.rb
+++ b/test/transport/hmac/test_sha2_512_96.rb
@@ -1,3 +1,5 @@
+# encoding: ASCII-8BIT
+
require 'common'
require 'transport/hmac/test_sha2_512'
require 'net/ssh/transport/hmac/sha2_512_96'
diff --git a/test/transport/test_cipher_factory.rb b/test/transport/test_cipher_factory.rb
index 6261856..0d32447 100644
--- a/test/transport/test_cipher_factory.rb
+++ b/test/transport/test_cipher_factory.rb
@@ -1,3 +1,5 @@
+# encoding: ASCII-8BIT
+
require 'common'
require 'net/ssh/transport/cipher_factory'
diff --git a/test/transport/test_packet_stream.rb b/test/transport/test_packet_stream.rb
index 225927c..c83d9b0 100644
--- a/test/transport/test_packet_stream.rb
+++ b/test/transport/test_packet_stream.rb
@@ -1,3 +1,5 @@
+# encoding: ASCII-8BIT
+
require 'common'
require 'net/ssh/transport/packet_stream'
diff --git a/test/transport/test_state.rb b/test/transport/test_state.rb
index 8785e68..9bfb3f1 100644
--- a/test/transport/test_state.rb
+++ b/test/transport/test_state.rb
@@ -1,3 +1,5 @@
+# encoding: ASCII-8BIT
+
require 'common'
require 'net/ssh/transport/state'