Forward standard error stream from remote execution

This commit is contained in:
Thibault Jouan committed 2014-07-24 17:38:13 +00:00
1 parent a033e19583
commit db91eb06cd
14 files changed
+93 -17

No files matched your search

@@ -19,6 +19,15 @@ module Producer::Core
sh.apply
expect(output).to eq "#{command_args}\n"
end
context 'when content is written to standard error' do
let(:command) { "echo #{command_args} >&2" }
it 'writes errors to given error stream' do
sh.apply
expect(error_output).to eq "#{command_args}\n"
end
end
end
end
end