提交 f0e1359d 编写于 作者: L lifeng68

CI: fix wrong suffix from bash to sh

Signed-off-by: Nlifeng68 <lifeng68@huawei.com>
上级 929dfca8
......@@ -88,7 +88,7 @@ declare -A scripts
pwd
TESTCASE_PATH="./CI/test_cases"
for file in $(find ${TESTCASE_PATH} -not \( -path '.*/data' -prune \) -not \( -path "${TESTCASE_PATH}/manual_cases" -prune \) -regextype posix-extended -regex ".*\.(bash)" | grep -v "helpers.sh" | sort)
for file in $(find ${TESTCASE_PATH} -not \( -path '.*/data' -prune \) -not \( -path "${TESTCASE_PATH}/manual_cases" -prune \) -regextype posix-extended -regex ".*\.(sh)" | grep -v "helpers.sh" | sort)
do
attributes=$(sed -n '3p' $file)
if [[ "x$attributes" == "x" ]] || [[ ! "${attributes}" =~ "attributes:" ]];then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册