Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git committed Oct 20, 2024
1 parent 124af35 commit 34ac255
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/scripts-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,25 @@ jobs:
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:?}"
printf '%s\n' "---"
done
list_scripts()
{
printf '%s\n' 'tools/bits-info.sh'
printf '%s\n' 'cmdline.sh'
}
main()
{
local backup_ifs _script
export ONLY_FOR_TESTING='true'
backup_ifs="${IFS-}"
IFS=$'\n'
set -- $(list_scripts) || exit "${?}"
IFS="${backup_ifs}"
for _script in "${@}"; do
test_on_all_shells "${_script:?}"
printf '%s\n' "---"
done
}
main
exit "${EXIT_CODE:?}"
- name: "Clean extracted files"
if: "always()"
Expand Down

0 comments on commit 34ac255

Please sign in to comment.