7689ea4ac6
Was seeing py34 (and DSVM) tests failing with an Invocation error, even though the test passed. Switched to ostestr, as is done in Neutron under commit 240facf9e67aa5b205679f397107abfe059a869a, and the test passes (not sure what the root cause is here). Change-Id: If85987865e0393892c52f319d7cef526c021e0df
9 lines
169 B
Bash
Executable File
9 lines
169 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# preserve old behavior of using an arg as a regex when '--' is not present
|
|
case $@ in
|
|
(*--*) ostestr $@;;
|
|
('') ostestr;;
|
|
(*) ostestr --regex "$@"
|
|
esac
|