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 7 commits into from May 7, 2013


None yet
1 participant
Copy link

mizzy commented May 5, 2013

No description provided.

mizzy added some commits May 5, 2013

Revert "Hack for getting stdout, stderr, exit status in 1.8"
SSH with pty merge stderr to stdout, so do same thing with local exec.

This reverts commit 043e769.


Set command and its stdout/stderr to example.metadata
In ssh access with pty, stderr is merged to stdout.So serverspec also merge stderr to stdin in exec backend for the integrity.

Override RSpec::Matchers::DSL::Matcher.failure_message_for_should
To save a step to write failure_message_for_should in each matcher.
Set example to instance variable to set command and its result to it
This is for showing command and its result with failure_message

mizzy added a commit that referenced this pull request May 7, 2013

Merge pull request #88 from mizzy/set-failure-message
Show the command and its stdout message when fails

@mizzy mizzy merged commit f927f9b into master May 7, 2013

1 check passed

default The Travis build 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