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

Show the command and its stdout message when fails #88

Merged
merged 7 commits into from May 7, 2013
Merged

Conversation

@mizzy
Copy link
Owner

@mizzy mizzy commented May 5, 2013

No description provided.

mizzy added 7 commits May 5, 2013
SSH with pty merge stderr to stdout, so do same thing with local exec.

This reverts commit 043e769.

Conflicts:

	lib/serverspec/backend/exec.rb
In ssh access with pty, stderr is merged to stdout.So serverspec also merge stderr to stdin in exec backend for the integrity.

See http://stackoverflow.com/questions/7937651/receiving-extended-data-with-ssh-using-twisted-conch-as-client
To save a step to write failure_message_for_should in each matcher.
This is for showing command and its result with failure_message
mizzy added a commit that referenced this issue May 7, 2013
Show the command and its stdout message when fails
@mizzy mizzy merged commit f927f9b into master May 7, 2013
1 check passed
@mizzy mizzy deleted the set-failure-message branch May 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant