prole/tests/shellspec/.vendor/shellspec-0.28.1/contrib/demo.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

53 lines
854 B
Bash
Executable File

#!/bin/sh
#ghostplay silent
# ttyrec -e "ghostplay contrib/demo.sh"
# seq2gif -l 5000 -h 32 -w 139 -p win -i ttyrecord -o demo.gif
# seq2gif -l 5000 -h 19 -w 83 -p win -i ttyrecord -o sns.gif
GP_HOSTNAME=ubuntu
highlight() {
command highlight -l -O xterm256 --syntax "$1"
}
#ghostplay end
shellspec
#ghostplay sleep 3
# Parallel execution
shellspec --jobs 4
#ghostplay sleep 3
cd contrib/demo
#ghostplay sleep 1
cat spec/demo_spec.sh | highlight sh
#ghostplay sleep 3
# It has one failure
shellspec
#ghostplay sleep 5
# Dry run with documentation formatter
shellspec --dry-run --format documentation
#ghostplay sleep 5
# Coverage and generate junit xml
shellspec --kcov --output junit
#ghostplay sleep 5
cat report/results_junit.xml | highlight xml
#ghostplay sleep 3
cd profile
# Profiler
shellspec --profile --format documentation