Skip to content

Commit

Permalink
Update scripts-testing.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git authored Oct 19, 2024
1 parent f496bd3 commit 396f79b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/scripts-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,17 +137,17 @@ jobs:
printf 'SHELL: %s - SCRIPT: %s\n\n' "${_shell_cmd:?}" "${1:?}"
_status='0'
if test "${_shell:?}" = 'busybox'; then
"${_shell_cmd:?}" ash "${workspace_dir:?}/${1:?}" || _status="${?}"
"${_shell_cmd:?}" ash "${workspace_dir:?}/${1:?}" -l || _status="${?}"
else
"${_shell_cmd:?}" "${workspace_dir:?}/${1:?}" || _status="${?}"
"${_shell_cmd:?}" "${workspace_dir:?}/${1:?}" -l || _status="${?}"
fi
test "${_status:?}" = 0 || EXIT_CODE="${_status:?}"
printf '\nRETURN CODE:%s\n\n' "${_status:?}"
done
}
export ONLY_FOR_TESTING='true'
for _script in 'tools/bits-info.sh' 'cmdline.sh'; do
test_on_all_shells "${_script:?}" -l
test_on_all_shells "${_script:?}"
printf '%s\n' "---"
done
exit "${EXIT_CODE:?}"
Expand Down

0 comments on commit 396f79b

Please sign in to comment.