From 24558b14af1107bcab2916ae7869c9ff2d15f030 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 24 May 2001 00:47:30 +0000 Subject: [PATCH] new tests --- comedi/drivers/check_driver | 6 ++++++ 1 file changed, 6 insertions(+) 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 + -- 2.26.2