mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 17:54:32 +00:00
- 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>
15 lines
451 B
Bash
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
|