view dropbear_lint.sh @ 1887:30fd047f6ebf

Fix pytest incorrect skip "reason" string No change to functionality
author Matt Johnston <matt@ucc.asn.au>
date Wed, 16 Mar 2022 17:32:43 +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