提交 d3095397 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!682 CI: fix wrong suffix from bash to sh

Merge pull request !682 from lifeng_isula/master
......@@ -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.
先完成此消息的编辑!
想要评论请 注册