view dropbear_lint.sh @ 1837:df7bfd2f7d45

Add "make test" target to run pytest This will create a virtualenv if required. There is a bit of churn here reverting to autoconf 2.59 in generated config.h.in and configure
author Matt Johnston <matt@codeconstruct.com.au>
date Mon, 18 Oct 2021 14:24:32 +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