new tests
authorDavid Schleef <ds@schleef.org>
Thu, 24 May 2001 00:47:30 +0000 (00:47 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 24 May 2001 00:47:30 +0000 (00:47 +0000)
comedi/drivers/check_driver

index 04642156213b26e3fe7f1780732bdcde6e13044b..652bac086c51f20a9310771aea48396267416b45 100755 (executable)
@@ -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
+