Sha256: 8d0fe2d5e88ed15658b2a6f28a8d51df7b4353bafd0ae49036b06ba096fa5c12

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 Bytes

Contents

# encoding: UTF-8
describe 'issue 59', integration: true do
  before(:all) do
    @winrm = winrm_connection
  end

  describe 'long running script without output' do
    it 'should not error' do
      out = @winrm.powershell('$ProgressPreference="SilentlyContinue";sleep 60; Write-Host "Hello"')
      expect(out).to have_exit_code 0
      expect(out).to have_stdout_match(/Hello/)
      expect(out).to have_no_stderr
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
winrm-1.5.0 spec/issue_59_spec.rb