From cc2552eb551e806e6892fe6871de7b173943afb6 Mon Sep 17 00:00:00 2001 From: Denis Silakov Date: Thu, 22 Feb 2024 12:11:30 +0300 Subject: [PATCH] Fix double quotes in verifier.sh Signed-off-by: Denis Silakov --- tests/runtime/common/async/verify.sh | 6 +++--- tests/runtime/common/bitwiseop/verify.sh | 6 +++--- tests/runtime/common/class/verify.sh | 6 +++--- tests/runtime/common/dyninstruction/verify.sh | 6 +++--- tests/runtime/common/fortest/verify.sh | 6 +++--- tests/runtime/common/generator/verify.sh | 6 +++--- tests/runtime/common/getunmappedargs/verify.sh | 6 +++--- tests/runtime/common/helloworld/verify.sh | 6 +++--- tests/runtime/common/js_arrays/verify.sh | 6 +++--- tests/runtime/common/js_infinite_recursion/verify.sh | 6 +++--- tests/runtime/common/js_typed_arrays/verify.sh | 6 +++--- tests/runtime/common/lexicalenv/verify.sh | 6 +++--- tests/runtime/common/missingargs/verify.sh | 6 +++--- tests/runtime/common/module/verify.sh | 6 +++--- tests/runtime/common/multiargs/verify.sh | 6 +++--- tests/runtime/common/newobjdynrange/verify.sh | 6 +++--- tests/runtime/common/promise/verify.sh | 6 +++--- tests/runtime/common/recursive_array/verify.sh | 4 ++-- tests/runtime/common/restargs/verify.sh | 6 +++--- tests/runtime/common/returnundefined/verify.sh | 6 +++--- tests/runtime/common/sieve/verify.sh | 6 +++--- tests/runtime/common/spread_primitives/verify.sh | 4 ++-- tests/runtime/common/strictequal/verify.sh | 6 +++--- tests/runtime/common/throwdyn/verify.sh | 6 +++--- tests/runtime/common/yieldstar/verify.sh | 6 +++--- 25 files changed, 73 insertions(+), 73 deletions(-) diff --git a/tests/runtime/common/async/verify.sh b/tests/runtime/common/async/verify.sh index 989431359..f769188cc 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 b6016edc6..a0115cd03 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 deae53732..1d5e2b36d 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 6dc07e1d0..50a7d0296 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 1227b3124..69dc13a71 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 80c7c03bf..e48e119d5 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 f332ff921..b581c25fd 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 e1333a763..aabe5ad75 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 2d5d968f3..cd3fbf97d 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 2ef48f5da..5f1f01480 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 d6121e7aa..76e8dce89 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 d260194fa..86cf98951 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 7bc3b345f..e36c1cea6 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 34f366989..57f3b8529 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 7e1f731c3..1bcbcb16f 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 5586e27c1..3ec3580f4 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 7c3ec824a..4a86d4b63 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 26164ef81..f34413449 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 72aeba1c0..de9f3e26c 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 acbb76c2d..1c3f868e3 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 5e65b79ef..b8dca77d7 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 09cc29ed0..33e3c7300 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 78eba7929..a307dbbc5 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 ae22227fe..d544a7a45 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 82ae38173..bb25108a5 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 -- Gitee