diff options
author | Jakob Unterwurzacher | 2021-09-04 11:56:43 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-09-07 18:14:05 +0200 |
commit | c9728247edb4cb29755908629528b22c8419a11d (patch) | |
tree | a54cd1e6cbb53b445a0fb983104b3ac0856657ff /test.bash | |
parent | e2ec048a09889b2bf71e8bbfef9f0584ff7d69db (diff) |
test.bash: only check go files for naked panic
This found a lot of panics in the new file openssl_aead.c.
Diffstat (limited to 'test.bash')
-rwxr-xr-x | test.bash | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ else rm -Rf "$TESTDIR" fi -if grep -R "panic(" ./*.go internal ; then +if find internal -type f -name \*.go -print0 | xargs -0 grep "panic("; then echo "$MYNAME: Please use log.Panic instead of naked panic!" exit 1 fi |