annotate dropbear_lint.sh @ 1751:3b9b427925a0

Load password and key for client fuzzer. Add fuzz_dump()
author Matt Johnston <matt@ucc.asn.au>
date Tue, 20 Oct 2020 23:34:38 +0800
parents 90fffce0ee99
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1679
90fffce0ee99 Add linter for #ifdef
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1 #!/bin/sh
90fffce0ee99 Add linter for #ifdef
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
2
90fffce0ee99 Add linter for #ifdef
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
3 EXITCODE=0
90fffce0ee99 Add linter for #ifdef
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
4
90fffce0ee99 Add linter for #ifdef
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
5 # #ifdef instead of #if
90fffce0ee99 Add linter for #ifdef
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
6 grep '#ifdef DROPBEAR' -I *.c *.h && EXITCODE=1
90fffce0ee99 Add linter for #ifdef
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
7
90fffce0ee99 Add linter for #ifdef
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
8 exit $EXITCODE