35278b9b3c
This also fixes three UTs which started failing after changing the tox environment. The issue with the tests was that they were assuming a specific order of elements in a JSON request body, which started breaking after the tox environment change. Change-Id: I3a882f8e5052c4bdf04f1b75c86ab0ebbd8c72c0 Closes-bug: 1588753
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
|