From 88e7c7059d0c5132ae75361863b2fae6aa88fd42 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sat, 17 Mar 2001 03:34:06 +0000 Subject: [PATCH] added new tests --- comedi/drivers/check_driver | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/comedi/drivers/check_driver b/comedi/drivers/check_driver index b88bfb64..9af55e72 100755 --- a/comedi/drivers/check_driver +++ b/comedi/drivers/check_driver @@ -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 + -- 2.26.2