Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get output from SSH commands #509

Merged
merged 1 commit into from Jun 3, 2016
Merged

Conversation

mnowaksuse
Copy link

And remove Xen HVM emulator setup which is not needed.

@okurz
Copy link
Member

okurz commented Jun 2, 2016

LGTM

# In list context returns pair ($stdout, $stderr). In void (and scalar)
# context just logs stdout and stderr, returns nothing.
sub get_ssh_outputs {
my $chan = shift;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please don't use shift for parameters. Look around in this file

@coolo
Copy link
Contributor

coolo commented Jun 3, 2016

I'm a bit puzzled by the plural. I consider stderr and stdout part of the one output, it's just two channels of it.

And remove Xen HVM emulator setup which is not needed.
@mnowaksuse
Copy link
Author

Sub is now in singular.

@coolo coolo merged commit 1a10eae into os-autoinst:master Jun 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants