Sha256: d357a410810b965d42b495d70fdace9f588bc96075b5189f29a0be453117704c

Contents?: true

Size: 429 Bytes

Versions: 22

Compression:

Stored size: 429 Bytes

Contents

require File.join(File.expand_path(File.dirname(__FILE__)), '../../..', 'test_helper.rb')
require 'rbbt/util/misc/development'

class TestMiscDevelopment < Test::Unit::TestCase
  def test_ssh
    Misc.ssh_run 'mn1' do
      puts "hola"
    end
  end

  def __test_timeout
    Misc.timeout_insist(2) do
      puts "Start"
      3.times do
        puts "ping"
        sleep rand(4)
        puts "pong"
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
rbbt-util-5.37.1 test/rbbt/util/misc/test_development.rb
rbbt-util-5.37.0 test/rbbt/util/misc/test_development.rb
rbbt-util-5.36.0 test/rbbt/util/misc/test_development.rb
rbbt-util-5.35.4 test/rbbt/util/misc/test_development.rb
rbbt-util-5.35.3 test/rbbt/util/misc/test_development.rb
rbbt-util-5.35.2 test/rbbt/util/misc/test_development.rb
rbbt-util-5.35.1 test/rbbt/util/misc/test_development.rb
rbbt-util-5.34.27 test/rbbt/util/misc/test_development.rb
rbbt-util-5.34.26 test/rbbt/util/misc/test_development.rb
rbbt-util-5.34.25 test/rbbt/util/misc/test_development.rb
rbbt-util-5.34.24 test/rbbt/util/misc/test_development.rb
rbbt-util-5.34.23 test/rbbt/util/misc/test_development.rb
rbbt-util-5.34.22 test/rbbt/util/misc/test_development.rb
rbbt-util-5.34.21 test/rbbt/util/misc/test_development.rb
rbbt-util-5.34.20 test/rbbt/util/misc/test_development.rb
rbbt-util-5.34.18 test/rbbt/util/misc/test_development.rb
rbbt-util-5.34.17 test/rbbt/util/misc/test_development.rb
rbbt-util-5.34.16 test/rbbt/util/misc/test_development.rb
rbbt-util-5.34.15 test/rbbt/util/misc/test_development.rb
rbbt-util-5.34.14 test/rbbt/util/misc/test_development.rb