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.34.13 test/rbbt/util/misc/test_development.rb
rbbt-util-5.34.12 test/rbbt/util/misc/test_development.rb