| 1 | #! /bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | generate_secure_tokenscip-shell shell shell-project 0.0.0 generate_secure_token().() { |
| 4 | echoscip-shell system . . echo. head --bytes 64 /dev/urandomscip-shell filesystem . . `/dev/urandom`. | sha512sumscip-shell system . . sha512sum. --binary | cutscip-shell system . . cut. --fields 1 --delimiter ' ' |
| 5 | } |
| 6 | |
| 7 | dump_logscip-shell shell shell-project 0.0.0 dump_log(). () { |
| 8 | if [scip-shell system . . `[`. -s "$1" ]; then |
| 9 | stop_command_token="$(generate_secure_tokenscip-shell shell shell-project 0.0.0 generate_secure_token().)" |
| 10 | echoscip-shell system . . echo. "::group::$1" |
| 11 | echoscip-shell system . . echo. "::stop-commands::$stop_command_token" |
| 12 | catscip-shell system . . cat. "$1" |
| 13 | echoscip-shell system . . echo. "::$stop_command_token::" |
| 14 | echoscip-shell system . . echo. '::endgroup::' |
| 15 | unset stop_command_token |
| 16 | fi |
| 17 | } |
| 18 | |
| 19 | dump_logscip-shell shell shell-project 0.0.0 dump_log(). config.log |
| 20 | findscip-shell system . . find. . -name 'test-suite*.log' -printf '%P\n' | while read -r ts; do |
| 21 | dump_logscip-shell shell shell-project 0.0.0 dump_log(). "$ts" |
| 22 | done |