From 71425aba733626a2648fcb6a2950708f0d72ac87 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Thu, 14 May 2020 16:55:19 +0000 Subject: [PATCH] Restyled by shfmt --- examples/chip-tests/esp32/qemu_run.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/chip-tests/esp32/qemu_run.sh b/examples/chip-tests/esp32/qemu_run.sh index b0593792df9c4c..6157c00368e057 100755 --- a/examples/chip-tests/esp32/qemu_run.sh +++ b/examples/chip-tests/esp32/qemu_run.sh @@ -26,8 +26,8 @@ chip_dir="$here/../../.." set -e die() { - echo "$me: *** ERROR: " "${*}" - exit 1 + echo "$me: *** ERROR: " "${*}" + exit 1 } # move to the example folder, I don't work anywhere else @@ -45,12 +45,12 @@ trap "{ rm -f $flash_image_file; }" EXIT # If the logs contain failure message if grep -F "] : FAILED" results.log; then - die 'Some tests failed. Check results.log' + die 'Some tests failed. Check results.log' fi # If the logs do not contain final success status if grep -F "CHIP-tests: CHIP test status: 0" results.log; then - echo "$me: All tests passed" + echo "$me: All tests passed" else - die 'Tests did not run to completion. Check results.log' + die 'Tests did not run to completion. Check results.log' fi