mirror of
https://github.com/etcd-io/etcd.git
synced 2026-02-05 06:46:49 +01:00
Fix run_go_tests_expanding_packages argument parsing
Escape the regular expression, and ensure to capture go.etcd.io packages, too. As defined in `run_go_tests`. Signed-off-by: Ivan Valdes <ivan@vald.es>
This commit is contained in:
@@ -354,7 +354,7 @@ function run_go_tests_expanding_packages {
|
||||
local packages=()
|
||||
local args=()
|
||||
for arg in "$@"; do
|
||||
if [[ "${arg}" =~ ./ ]]; then
|
||||
if [[ "${arg}" =~ ^\./ || "${arg}" =~ ^go\.etcd\.io/etcd ]]; then
|
||||
packages+=("${arg}")
|
||||
else
|
||||
args+=("${arg}")
|
||||
|
||||
Reference in New Issue
Block a user