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 12, 2024
1 parent 921ba44 commit 0f9656a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/scripts-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ jobs:
esac
fi
_s_shell="$(basename "${3:?}")" || _s_shell="${3?}"
echo "_${_s_shell?}_"
if test "${1:?}" = 'cmdline.sh'; then
case "${_s_shell?}" in
dash | busybox | mksh | zsh | bosh | pbosh | yash | posh) return 0 ;; # Skip
Expand All @@ -114,7 +115,7 @@ jobs:
{
local _shell _shell_cmd _status
EXECUTED_LIST=''
for _shell in sh dash bash busybox ksh mksh zsh osh bosh yash posh hush; do
for _shell in sh dash bash busybox ksh mksh zsh yash posh osh bosh hush; do
if ! _shell_cmd="$(command -v "${_shell:?}")" || skip "${1:?}" "${_shell:?}" "$(realpath ${_shell_cmd:?} || :)" || ! not_already_excuted "${_shell_cmd:?}"; then continue; fi
printf 'SHELL: %s - SCRIPT: %s\n\n' "${_shell_cmd:?}" "${1:?}"
_status='0'
Expand Down

0 comments on commit 0f9656a

Please sign in to comment.