From 113ad32e9cd2dcda12f12aa8a72d56b73ff4f4cc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 01:51:29 +0200 Subject: Merging upstream version 1:9.16.48. Signed-off-by: Daniel Baumann --- bin/tests/system/parallel.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bin/tests/system/parallel.sh') diff --git a/bin/tests/system/parallel.sh b/bin/tests/system/parallel.sh index 8d156cf..6aa2aa5 100644 --- a/bin/tests/system/parallel.sh +++ b/bin/tests/system/parallel.sh @@ -13,7 +13,7 @@ . ./conf.sh -PARALLELS=`echo $PARALLELDIRS | sed "s|\([^ ][^ ]*\)|test-\1|g;" | tr _ -` +PARALLELS=$(echo $PARALLELDIRS | sed "s|\([^ ][^ ]*\)|test-\1|g;" | tr _ -) echo ".PHONY: $PARALLELS" echo @@ -28,9 +28,9 @@ echo " }" echo echo "test check: $PARALLELS" port=${STARTPORT:-5000} -for directory in $PARALLELDIRS ; do - echo - echo "test-`echo $directory | tr _ -`: check_interfaces" - echo " @${SHELL} ./run.sh -p $port $directory 2>&1 | tee test.output.$directory" - port=`expr $port + 100` +for directory in $PARALLELDIRS; do + echo + echo "test-$(echo $directory | tr _ -): check_interfaces" + echo " @${SHELL} ./run.sh -p $port $directory 2>&1 | tee test.output.$directory" + port=$(expr $port + 100) done -- cgit v1.2.3