Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T Turris updater lists
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TurrisTurris
  • Turris OS
  • Turris updater lists
  • Merge requests
  • !34

tests: convert bare tests to bootstrap tests

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Karel Koci requested to merge hotfix/test-bootstrap into master Apr 07, 2022
  • Overview 0
  • Commits 2
  • Pipelines 1
  • Changes 6

The only script that is not executed in a specific environment is bootstrap.lua and that requires os.getenv to work and our tests are designed to run in sanbox mode only where this is not available. Thus we do not test this script and anything else is run in environment declared in router's entry script or in bootstrap.lua.

The testing now checks scripts in the environment that is same as it would be when bootstrapping. This should discover errors such as when os_release is unexpectedly empty.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: hotfix/test-bootstrap