Skip to content

Add base_init bootstrap smoke tests#312

Merged
codeforester merged 1 commit into
masterfrom
enhancement/303-20260530-test-base-init
May 30, 2026
Merged

Add base_init bootstrap smoke tests#312
codeforester merged 1 commit into
masterfrom
enhancement/303-20260530-test-base-init

Conversation

@codeforester
Copy link
Copy Markdown
Owner

Summary

  • Add dedicated BATS smoke tests for the base_init.sh runtime path, host, OS, shell, idempotency, and import_base_lib contracts.
  • Normalize BASE_OS to Base contract values such as macos and linux.
  • Export BASE_SHELL=bash when base_init.sh is sourced outside an already-marked runtime shell, while preserving the existing runtime-shell sentinel.
  • Wire tests/base_init.bats into bin/base-test and CI.

Validation

  • bats tests/base_init.bats
  • bats lib/bash/runtime/tests/runtime_bashrc.bats
  • ./bin/base-test
  • git diff --check

Fixes #303

@codeforester codeforester merged commit 4f47190 into master May 30, 2026
16 checks passed
@codeforester codeforester deleted the enhancement/303-20260530-test-base-init branch May 30, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add smoke tests for base_init.sh bootstrap variable setup

1 participant