prole/tests/shellspec/.vendor/shellspec-0.28.1/spec/shellspec-task_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

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