summaryrefslogtreecommitdiff
path: root/bin
diff options
authorJeff Lane <jeffrey.lane@canonical.com>2017-04-05 18:13:19 -0400
committerJeff Lane <jeffrey.lane@canonical.com>2017-04-05 18:13:19 -0400
commit6100a8cb8642dbed4ab29a57bef2af421ff17816 (patch)
tree9b82a9843a7e803a6d2614f6962f1039eea1bbf9 /bin
parentfcb2a3af9b294cee30103b4571f6c7ae2b09b17d (diff)
Added one new version string to check for
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dmitest4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dmitest b/bin/dmitest
index 4b8c52d9..d75aa373 100755
--- a/bin/dmitest
+++ b/bin/dmitest
@@ -192,7 +192,7 @@ def version_tests(args, stream, dmi_data):
"""
retval = 0
if find_in_section(stream, dmi_data, 'Chassis Information', 'Version:',
- ['to be filled by o\.e\.m\.', 'empty'],
+ ['to be filled by o\.e\.m\.', 'empty', 'x\.x'],
False):
dmi_data['Chassis Information']['Version'] += \
" *** Invalid chassis version!"
@@ -205,7 +205,7 @@ def version_tests(args, stream, dmi_data):
" *** Invalid system information version!"
retval += 1
if find_in_section(stream, dmi_data, 'Base Board Information', 'Version:',
- ['base board version',
+ ['base board version', 'x\.x',
'empty', 'to be filled by o\.e\.m\.'], False):
dmi_data['Base Board Information']['Version'] += \
" *** Invalid base board version!"