Debian Codegraph @

etc/test-run-fiat-crypto-silent.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 set -e
4
5 fiat_crypto="$1"
6
7 if [scip-shell system . . `[`. -z "${fiat_crypto}" ]; then
8 printfscip-shell system . . printf. "USAGE: %s /path/to/fiat_crypto\n" "$0"
9 exit 1
10 fi
11
12 for prog in word-by-word-montgomery unsaturated-solinas saturated-solinas base-conversion; do
13 lang_line="$("${fiat_crypto}" $prog -h | grepscip-shell system . . grep. -- --lang)"
14 search='[Bb]edrock2'
15 printfscip-shell system . . printf. "%s\n" "${lang_line}" | grepscip-shell system . . grep. -q "$search" || { printfscip-shell system . . printf. "::error::%s: Missing %s in %s\n" "${prog}" "${search}" "${lang_line}"; exit 1; }
16 search='Defaults to C if'
17 printfscip-shell system . . printf. "%s\n" "${lang_line}" | grepscip-shell system . . grep. -q "$search" || { printfscip-shell system . . printf. "::error::%s: Missing %s in %s\n" "${prog}" "${search}" "${lang_line}"; exit 1; }
18 done