aboutsummaryrefslogtreecommitdiff
path: root/tcwg-benchmark.yaml.in
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-06-16 18:12:57 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-06-16 18:12:57 +0000
commitff24ec9a18518fa88f8b70851eaf54cc781634a7 (patch)
tree1c94059318caa74caa8b33db4c3c536beeb79b8d /tcwg-benchmark.yaml.in
parent8c69f53bc5ec64eda4daccf6f6bb1e27e7ce6b0a (diff)
downloadconfigs-ff24ec9a18518fa88f8b70851eaf54cc781634a7.tar.gz
tcwg-benchmark: Fix board locking
Change-Id: I68d53a0b34468c2add996e602e6ed7e602ef0461
Diffstat (limited to 'tcwg-benchmark.yaml.in')
-rw-r--r--tcwg-benchmark.yaml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcwg-benchmark.yaml.in b/tcwg-benchmark.yaml.in
index fd4f75d0c..9128eadad 100644
--- a/tcwg-benchmark.yaml.in
+++ b/tcwg-benchmark.yaml.in
@@ -255,10 +255,10 @@
for lock in $(set +f; ls -tr $HOME/boards/$NODE_NAME-*); do
(
flock -en -E 123 9 || exit 1
- NODE_NAME=$(cat $lock)
+ NODE_NAME=$(cat <&9)
export NODE_NAME
exec ./jenkins-scripts/tcwg-benchmark.sh
- ) 9>$lock &
+ ) 9<$lock &
res=0 && wait $! || res=$?
if [ $res != 123 ]; then
exit $res