From: David Schleef Date: Thu, 24 May 2001 00:47:30 +0000 (+0000) Subject: new tests X-Git-Tag: r0_7_59~30 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=24558b14af1107bcab2916ae7869c9ff2d15f030;p=comedi.git new tests --- diff --git a/comedi/drivers/check_driver b/comedi/drivers/check_driver index 04642156..652bac08 100755 --- a/comedi/drivers/check_driver +++ b/comedi/drivers/check_driver @@ -207,3 +207,9 @@ if grep 'if.*cmd.*&&.*err..;' ${driver} &>/dev/null;then echo "E: Probable logic error in cmdtest" fi +if grep 'subdev_8255_init' ${driver} &>/dev/null;then + if ! grep 'subdev_8255_cleanup' ${driver} &>/dev/null;then + echo "E: doesn't call subdev_8255_cleanup()" + fi +fi +