diff --git a/tests/runtime/common/async/verify.sh b/tests/runtime/common/async/verify.sh index 9894313591975aee3febbd7aaa2ed309ec845f2e..f769188cc1646dd760284309ef19a6a717091c71 100755 --- a/tests/runtime/common/async/verify.sh +++ b/tests/runtime/common/async/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -10,8 +10,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31masync test failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/bitwiseop/verify.sh b/tests/runtime/common/bitwiseop/verify.sh index b6016edc6b6f73049f2a1d5a62fb18903934f27b..a0115cd03aa1944602404dd21feb921db7628e13 100755 --- a/tests/runtime/common/bitwiseop/verify.sh +++ b/tests/runtime/common/bitwiseop/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -14,8 +14,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mbitwiseop test failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/class/verify.sh b/tests/runtime/common/class/verify.sh index deae537327660e69277aa8d43a96f50ca302bedb..1d5e2b36de31a2c34ccf551923a5ddc453a4a954 100755 --- a/tests/runtime/common/class/verify.sh +++ b/tests/runtime/common/class/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -9,8 +9,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mhelloworld test failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/dyninstruction/verify.sh b/tests/runtime/common/dyninstruction/verify.sh index 6dc07e1d0c40a69050e5946b99b4de6a822fecda..50a7d0296616039612576bb9950043bb67ede135 100755 --- a/tests/runtime/common/dyninstruction/verify.sh +++ b/tests/runtime/common/dyninstruction/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -11,8 +11,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:""$expected" - echo -e "actual:""$actual" + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mdyninstruction test failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/fortest/verify.sh b/tests/runtime/common/fortest/verify.sh index 1227b3124d9da39ca69bd3d9685e117321c2e3be..69dc13a710850a41d23143bf8cb31bd857d8d519 100755 --- a/tests/runtime/common/fortest/verify.sh +++ b/tests/runtime/common/fortest/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -27,8 +27,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mfortest test failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/generator/verify.sh b/tests/runtime/common/generator/verify.sh index 80c7c03bf9c9f80743434264552918e6e612c73e..e48e119d5b70889ae619eea25d3a3f306e652b46 100755 --- a/tests/runtime/common/generator/verify.sh +++ b/tests/runtime/common/generator/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -11,8 +11,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mgenerator test failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/getunmappedargs/verify.sh b/tests/runtime/common/getunmappedargs/verify.sh index f332ff92144f2ec98239845a41c56839d882eac7..b581c25fd6a806aed65858122dda0a2937ef749b 100755 --- a/tests/runtime/common/getunmappedargs/verify.sh +++ b/tests/runtime/common/getunmappedargs/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -10,8 +10,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mgetunmappedargs test failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/helloworld/verify.sh b/tests/runtime/common/helloworld/verify.sh index e1333a76342dc4c5a661b3cb1a6ea1278aa38a60..aabe5ad7573c220eb065f7e82b5b5a23259da93d 100755 --- a/tests/runtime/common/helloworld/verify.sh +++ b/tests/runtime/common/helloworld/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -8,8 +8,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mhelloworld test failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/js_arrays/verify.sh b/tests/runtime/common/js_arrays/verify.sh index 2d5d968f3513f99d4e08ece90197f86aaa84f54e..cd3fbf97da2917f2d6ac835f3323b69a1ef0c331 100644 --- a/tests/runtime/common/js_arrays/verify.sh +++ b/tests/runtime/common/js_arrays/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -17,8 +17,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mrestargstest failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/js_infinite_recursion/verify.sh b/tests/runtime/common/js_infinite_recursion/verify.sh index 2ef48f5da7d75d4f9582893677c6120e92f48f35..5f1f01480237f0c2bd766a443800ef0e5cda1ebb 100644 --- a/tests/runtime/common/js_infinite_recursion/verify.sh +++ b/tests/runtime/common/js_infinite_recursion/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2022-2024. All rights reserved. set -eo pipefail @@ -14,8 +14,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mhelloworld test failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/js_typed_arrays/verify.sh b/tests/runtime/common/js_typed_arrays/verify.sh index d6121e7aa3edbef0ffc3cc96d5908101aeaf3917..76e8dce89c8277d2d80f24b1a47c88b0f82d4531 100644 --- a/tests/runtime/common/js_typed_arrays/verify.sh +++ b/tests/runtime/common/js_typed_arrays/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -16,8 +16,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mrestargstest failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/lexicalenv/verify.sh b/tests/runtime/common/lexicalenv/verify.sh index d260194fa38a77f247d3ffc629dbc2e1852c5b70..86cf98951eccead526f2b036416915d8c3de1763 100755 --- a/tests/runtime/common/lexicalenv/verify.sh +++ b/tests/runtime/common/lexicalenv/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -8,8 +8,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mlexicalenv test failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/missingargs/verify.sh b/tests/runtime/common/missingargs/verify.sh index 7bc3b345f83fbc43e50e1231bbe32a1855ec31ff..e36c1cea6f3911fc2098aad2065b9a6c143fcd63 100755 --- a/tests/runtime/common/missingargs/verify.sh +++ b/tests/runtime/common/missingargs/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -11,8 +11,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mmissingargstest failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/module/verify.sh b/tests/runtime/common/module/verify.sh index 34f3669891ec6b0f24735f658b5baaaa0bcd7e24..57f3b85293ff116ba4b0bdbeb6b2803d705eb6d4 100755 --- a/tests/runtime/common/module/verify.sh +++ b/tests/runtime/common/module/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -8,8 +8,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31m module test failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/multiargs/verify.sh b/tests/runtime/common/multiargs/verify.sh index 7e1f731c34defdffc6ef650b42a97e1250d78691..1bcbcb16fe1ca0e21380c4fe432ea058da2df1dc 100755 --- a/tests/runtime/common/multiargs/verify.sh +++ b/tests/runtime/common/multiargs/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -13,8 +13,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mmultiargs test failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/newobjdynrange/verify.sh b/tests/runtime/common/newobjdynrange/verify.sh index 5586e27c1500cfc6125d78a5217619c20d8b96a9..3ec3580f47a1dbb1b7a9cbd51377113e492f83cd 100755 --- a/tests/runtime/common/newobjdynrange/verify.sh +++ b/tests/runtime/common/newobjdynrange/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -8,8 +8,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mnewobjdynrange test failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/promise/verify.sh b/tests/runtime/common/promise/verify.sh index 7c3ec824aad474ffc245ea60888effd4c71a36a2..4a86d4b63542dd6cef69e9a58194cd8797d61f7e 100755 --- a/tests/runtime/common/promise/verify.sh +++ b/tests/runtime/common/promise/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -13,8 +13,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mpromise test failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/recursive_array/verify.sh b/tests/runtime/common/recursive_array/verify.sh index 26164ef81c735bff54866d2963435fd2851561f0..f3441344921397bebc83e9c0a860a4fe787a90e8 100644 --- a/tests/runtime/common/recursive_array/verify.sh +++ b/tests/runtime/common/recursive_array/verify.sh @@ -12,8 +12,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mrestargstest failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/restargs/verify.sh b/tests/runtime/common/restargs/verify.sh index 72aeba1c0a85b56fc0914781e754b43702160ce2..de9f3e26cf94a88e7a7c18455856f3eec26eae71 100755 --- a/tests/runtime/common/restargs/verify.sh +++ b/tests/runtime/common/restargs/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -11,8 +11,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mrestargstest failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/returnundefined/verify.sh b/tests/runtime/common/returnundefined/verify.sh index acbb76c2dc1f90413df6d12fb800f63bf2b79208..1c3f868e359aa40c4b6b3a75957026cf949afcc3 100755 --- a/tests/runtime/common/returnundefined/verify.sh +++ b/tests/runtime/common/returnundefined/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -9,8 +9,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mreturnundefined test failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/sieve/verify.sh b/tests/runtime/common/sieve/verify.sh index 5e65b79efa5fa02cdbeb8b1b2637ffc9e9679dc1..b8dca77d7948e16f02796455adf345eb8ba4cea3 100755 --- a/tests/runtime/common/sieve/verify.sh +++ b/tests/runtime/common/sieve/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -8,8 +8,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31msieve test failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/spread_primitives/verify.sh b/tests/runtime/common/spread_primitives/verify.sh index 09cc29ed06fb30efb1a5740fdf2a8e9dc0527b51..33e3c730093f5f61e30d84ecb0bf440215fdceb5 100644 --- a/tests/runtime/common/spread_primitives/verify.sh +++ b/tests/runtime/common/spread_primitives/verify.sh @@ -30,8 +30,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mrestargstest failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/strictequal/verify.sh b/tests/runtime/common/strictequal/verify.sh index 78eba7929a939fef3a92d01d3e5bf564e6accd8c..a307dbbc505730aff77fac9fe2318bd83b91e385 100755 --- a/tests/runtime/common/strictequal/verify.sh +++ b/tests/runtime/common/strictequal/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -23,8 +23,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mstrictequal test failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/throwdyn/verify.sh b/tests/runtime/common/throwdyn/verify.sh index ae22227fe71415f2cdbaf200e02fe780762663ca..d544a7a45132335a584f754d3e1361e13889757c 100755 --- a/tests/runtime/common/throwdyn/verify.sh +++ b/tests/runtime/common/throwdyn/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -8,8 +8,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31mthrowdyntest failed\033[0m" exit 1; fi diff --git a/tests/runtime/common/yieldstar/verify.sh b/tests/runtime/common/yieldstar/verify.sh index 82ae38173b0dcc10afebc45ee40d4ea6ff89f8b6..bb25108a575d556865a9201f9051d6e53b15d95f 100755 --- a/tests/runtime/common/yieldstar/verify.sh +++ b/tests/runtime/common/yieldstar/verify.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved. +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2024. All rights reserved. set -eo pipefail @@ -10,8 +10,8 @@ actual=$(cat "$1") if [[ "$actual" == "$expected" ]];then exit 0; else - echo -e "expected:"$expected - echo -e "actual:"$actual + echo -e "expected: $expected" + echo -e "actual: $actual" echo -e "\033[31myieldstar test failed\033[0m" exit 1; fi