+submit_args=(
"testbox=dc-8g cci-depends.benchmark=sshd cci-depends.yaml"
"testbox=dc-8g borrow-1h.yaml runtime=1m"
"testbox=vm-2p8g borrow-1h.yaml runtime=1m"
)
+submit_one() +{
- submit_result=$(submit -m $args group_id=selftest)
$args => $@. Here $args looks coupled, you send parameter $args but not use it and access $args from caller directly.
submit_all() { ... for args in "${submit_args[@]}" ... }
$args is used in this function submit_all()
Thanks, Yinsi
Thanks, Xijian