mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 08:34:30 +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>
19 lines
652 B
Bash
19 lines
652 B
Bash
#shellcheck shell=sh disable=SC2016
|
|
|
|
Describe "shellspec-task.sh"
|
|
It "lists tasks"
|
|
When run script ./libexec/shellspec-task.sh
|
|
The line 1 of stdout should include "fixture:stat:prepare"
|
|
The line 1 of stdout should include "# Prepare file stat tests"
|
|
The line 2 of stdout should include "fixture:stat:cleanup"
|
|
The line 2 of stdout should include "# Cleanup file stat tests"
|
|
The line 3 of stdout should include "hello:shellspec"
|
|
The line 3 of stdout should include "Example task"
|
|
End
|
|
|
|
It "lists task"
|
|
When run script ./libexec/shellspec-task.sh "hello:shellspec"
|
|
The stdout should eq "Hello ShellSpec"
|
|
End
|
|
End
|