Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • M mkinitcpio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
    • Locked files
  • Issues 37
    • Issues 37
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch LinuxArch Linux
  • Mkinitcpio
  • mkinitcpio
  • Issues
  • #147
Closed
Open
Issue created Dec 07, 2022 by nl6720@nl6720Developer

Make bats tests shellcheck compatible and run shellcheck on them

Since we want everything to be linted with shellcheck, that should include the bats tests too.

Per https://bats-core.readthedocs.io/en/stable/faq.html#how-can-i-lint-shell-format-my-bats-tests, bats has an alternative syntax that makes it look like a bash script.

Looking at https://github.com/koalaman/shellcheck/pull/1469, it also appears that shellcheck should support bats as is too.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking