prole/tests/shellspec/.vendor/shellspec-0.28.1/spec/shellspec-load-env_spec.sh
chrisfu 909e92109e Refactor shell layout; add shellspec + authority
- Introduce lib/shell helpers and keep etc/* scripts thin via compatibility shims

- Move Kerberos validation to scripts/validation/check_kerberos.sh and update callers

- Add deterministic shellspec unit tests under tests/shellspec/ and wire Maven to run them

- Add minimal Spring Boot authority module with startup + /health endpoint and Maven wiring

- Document the new layout in docs/layout.md

Co-authored-by: Junie <junie@jetbrains.com>
2026-03-13 09:19:56 -07:00

15 lines
451 B
Bash

#shellcheck shell=sh disable=SC2016
% FIXTURE: "$SHELLSPEC_HELPERDIR/fixture"
Describe "shellspec-load-env.sh"
BeforeRun 'export SHELLSPEC_ENV_FROM=$FIXTURE/env-script.sh'
BeforeRun 'export SHELLSPEC_LIBEXEC=$FIXTURE'
BeforeRun 'export SHELLSPEC_MODE=dummy-mode'
It 'loads env file'
When run script ./libexec/shellspec-load-env.sh
The line 1 of stdout should eq "env-script"
The line 2 of stdout should eq "dummy mode"
End
End