octavia/tools/ostestr_compat_shim.sh
Gary Kotton 4edcf3a8df Add context to unit tests
When running the unit tests we will now see which tests is being
run and the status of the test in question. This will help debugging,
triaging and cleaning things up.

Change-Id: I6d1458654d2fb6a8e814b17c4673bb9337fac4ec
2017-01-01 01:50:56 -08:00

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