neutron-dynamic-routing/tools/ostestr_compat_shim.sh
Armando Migliaccio ec235b038f Add bits to run neutron-lib periodic test successfully
Change-Id: Ie1b565c516e5c1bb9e4c6108b9a57f6912d5a81e
2016-11-02 14:41:28 -07: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