diff --git a/tests/docker/ducktape-deps/tinygo-wasi-transforms b/tests/docker/ducktape-deps/tinygo-wasi-transforms index bce38013c01f1..565df01315e22 100644 --- a/tests/docker/ducktape-deps/tinygo-wasi-transforms +++ b/tests/docker/ducktape-deps/tinygo-wasi-transforms @@ -10,7 +10,7 @@ function retry { local count=0 until "$@"; do exit=$? - count=$(($count + 1)) + count=$((count + 1)) if [ $count -lt $retries ]; then echo "Retry $count/$retries exited $exit, retrying..." else diff --git a/tests/rptest/remote_scripts/cloud/pod_log_extract.sh b/tests/rptest/remote_scripts/cloud/pod_log_extract.sh index a2fbac1c3e107..0e69b63c0ccb1 100644 --- a/tests/rptest/remote_scripts/cloud/pod_log_extract.sh +++ b/tests/rptest/remote_scripts/cloud/pod_log_extract.sh @@ -1,9 +1,8 @@ #!/bin/bash files=($(find /var/log/pods/ -type f | grep "$1" | grep -v "configurator")) -for item in ${files[*]}; -do - echo "# $item" - tail --lines=+$(cat $item | grep -n -m 1 "$2" | cut -d":" -f1) $item - echo "# End of log" +for item in ${files[*]}; do + echo "# $item" + tail --lines=+$(cat $item | grep -n -m 1 "$2" | cut -d":" -f1) $item + echo "# End of log" done