[xen-tools-dev] [PATCH v2 09/13] Do not ignore serial_device nor disk_device
Stéphane Jourdois
sjourdois at gmail.com
Sun Jul 18 22:04:19 CEST 2010
From: Stéphane Jourdois <stephane at jourdois.fr>
Harden mirror and options regexps also.
---
t/argument-check.t | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/t/argument-check.t b/t/argument-check.t
index 0c264d0..5c7703e 100755
--- a/t/argument-check.t
+++ b/t/argument-check.t
@@ -45,9 +45,8 @@ foreach my $key ( sort keys %OPTIONS )
}
}
- next if ( $key =~ /mirror_/i );
- next if ( $key =~ /_options/i );
- next if ( $key =~ /(serial_device|disk_device)/i );
+ next if ( $key =~ /^mirror_/ );
+ next if ( $key =~ /_options$/ );
is( $found, 1 , " Found documentation for '$key'" );
}
--
1.7.1.1
More information about the xen-tools-dev
mailing list