view dropbear_lint.sh @ 1809:fd00aeff38fd

fuzz: add -q quiet argument for standalone fuzzers. travis has a log length limit
author Matt Johnston <matt@ucc.asn.au>
date Sun, 07 Mar 2021 21:26:34 +0800
parents 90fffce0ee99
children
line wrap: on
line source

#!/bin/sh

EXITCODE=0

# #ifdef instead of #if
grep '#ifdef DROPBEAR' -I *.c *.h && EXITCODE=1

exit $EXITCODE