added new tests
authorDavid Schleef <ds@schleef.org>
Sat, 17 Mar 2001 03:34:06 +0000 (03:34 +0000)
committerDavid Schleef <ds@schleef.org>
Sat, 17 Mar 2001 03:34:06 +0000 (03:34 +0000)
comedi/drivers/check_driver

index b88bfb6458dcb04b142ac1e852f53f9a4d798420..9af55e720a6480e19387cd99099e4031f248a4ad 100755 (executable)
@@ -175,3 +175,19 @@ if grep 'range_unknown' ${driver} &>/dev/null;then
        echo "W: uses range_unknown"
 fi
 
+if grep 'cur_trig' ${driver} &>/dev/null;then
+       echo "E: uses cur_trig"
+fi
+
+if grep -E 'cmd..?data' ${driver} &>/dev/null;then
+       echo "E: uses cmd->data or cmd->data_len"
+fi
+
+if grep -E 'buf_int_ptr++' ${driver} &>/dev/null;then
+       echo "E: uses buf_int_ptr++"
+fi
+
+if grep -E 'buf_int_count++' ${driver} &>/dev/null;then
+       echo "E: uses buf_int_count++"
+fi
+