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

Multiple arguments to test (verify, converge, etc) #94

Merged
merged 1 commit into from
Nov 1, 2013

Conversation

sethvargo
Copy link
Contributor

If I want to run kitchen against a couple of specific patterns in a given run, such as:

kitchen test test1-ubuntu-1204-chef-1144 test1-centos

My expected behavior is that kitchen would test the first one I specified, then any caught via pattern for test1-centos.

Apparently it only runs the first argument. Should it allow for multiple arguments?

@sethvargo
Copy link
Contributor

@miketheman

@miketheman
Copy link
Contributor Author

Yes, @sethvargo?

@sethvargo
Copy link
Contributor

Sorry. Converted your issue to a PR. Can you take a look when you get back from vacation?

@miketheman
Copy link
Contributor Author

Joining by pipe might be a little risky, any other delimiter proposal?

@sethvargo
Copy link
Contributor

@miketheman I used pipe because it converts the thing to a regular express 😄

@miketheman
Copy link
Contributor Author

That's cool - the concern I'd have is that the shell then terminates the command and tries something else as the next command - have you tested the behavior in bash/zsh?
Or do the examples need to show quoting around the expression in the docs?

@sethvargo sethvargo merged commit 03def8c into master Nov 1, 2013
@sethvargo sethvargo deleted the sethvargo/multi_arg_test branch November 5, 2013 17:08
@test-kitchen test-kitchen locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants