[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Skip virNWFilterTechDriver when validating API naming



From: "Daniel P. Berrange" <berrange redhat com>

The virNWFilterTechDriver struct is an internal only driver
API with no public API equivalent. It should be skipped by
the 'check-driverimpls' test case

Signed-off-by: Daniel P. Berrange <berrange redhat com>
---
 src/check-driverimpls.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/check-driverimpls.pl b/src/check-driverimpls.pl
index e385de0..17e2b48 100755
--- a/src/check-driverimpls.pl
+++ b/src/check-driverimpls.pl
@@ -68,7 +68,8 @@ while (<>) {
             }
         }
     } elsif (/^(?:static\s+)?(vir(?:\w+)?Driver)\s+/) {
-        next if $1 eq "virNWFilterCallbackDriver";
+        next if $1 eq "virNWFilterCallbackDriver" ||
+                $1 eq "virNWFilterTechDriver";
         $intable = 1;
         $table = $1;
     }
-- 
1.8.1.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]