Skip to content

Check that user specified arguments if required#381

Open
brianphaley wants to merge 1 commit intocanonical:mainfrom
brianphaley:arg-required
Open

Check that user specified arguments if required#381
brianphaley wants to merge 1 commit intocanonical:mainfrom
brianphaley:arg-required

Conversation

@brianphaley
Copy link
Copy Markdown
Collaborator

Some options in the test runner code require arguments, otherwise they throw an exception, for example:

$ ./openstack_regression_tests_runner.sh --func-test-target ./openstack_regression_tests_runner.sh: line 50: $2: unbound variable

If there is not at least one more argument remaining, error out with a message so the user can correct the call.

Some options in the test runner code require arguments,
otherwise they throw an exception, for example:

$ ./openstack_regression_tests_runner.sh --func-test-target
./openstack_regression_tests_runner.sh: line 50: $2: unbound variable

If there is not at least one more argument remaining, error
out with a message so the user can correct the call.

Signed-off-by: Brian Haley <haleyb.dev@gmail.com>
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.

1 participant