PR#1511 introduced a `flock` command in order to let AArch64 CI
can be executed with multiple executors. However the command
```
(
echo "try to lock $WORKLOADS_DIR folder and update"
flock -x 12 && update_workloads
)
```
will introduce an abnormal behavior: If any error happened in
function `updated_workloads`, the sub-shell opened by the pair of
parentheses will be killed instead of the main shell, which is not
right.
This commit fixes this abnormal execution behaviour.
Signed-off-by: Henry Wang <Henry.Wang@arm.com>
|
||
|---|---|---|
| .. | ||
| create-cloud-init.sh | ||
| dev_cli.sh | ||
| run_cargo_tests.sh | ||
| run_integration_tests_aarch64.sh | ||
| run_integration_tests_x86_64.sh | ||
| run_openapi_tests.sh | ||
| run_unit_tests.sh | ||
| sha1sums-aarch64 | ||
| sha1sums-x86_64 | ||