commit | bd078f1b307769389ea49e3faaa386c996b72fae | [log] [tgz] |
---|---|---|
author | Yakun Xu <xyk@google.com> | Tue Jun 30 00:04:01 2020 +0800 |
committer | GitHub <noreply@github.com> | Mon Jun 29 09:04:01 2020 -0700 |
tree | 68fad20e4c93443d10b02fae93d5d11c34f36169 | |
parent | 6f1fc2e6c225291b5c2f247a8372c6e7282f68d5 [diff] |
[test] fix multiple extra options (#5158)
diff --git a/script/test b/script/test index 63d3600..9aea568 100755 --- a/script/test +++ b/script/test
@@ -337,8 +337,11 @@ export -n VERBOSE fi - read -r -a ot_extra_options_in <<<"${OT_OPTIONS-}" - ot_extra_options=${ot_extra_options_in:-()} + if [[ ${OT_OPTIONS+x} ]]; then + read -r -a ot_extra_options <<<"${OT_OPTIONS}" + else + ot_extra_options=() + fi } main()