summaryrefslogtreecommitdiff
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2020-07-13 10:42:30 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2020-07-13 10:42:30 +0200
commite426b57bbf74dacc567345ad70336e3e69cdd45a (patch)
treecc2cfb340d4a5ad80041c491120ff4d10cd02b3f
parent5b62def9bb43eb01ce05d6d67d4458b2e534ec99 (diff)
bin:dmitest -> dmitest.py
-rwxr-xr-xbin/dmitest.py (renamed from bin/dmitest)2
-rw-r--r--units/miscellanea/jobs.pxu6
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/dmitest b/bin/dmitest.py
index ef416ca..642af3a 100755
--- a/bin/dmitest
+++ b/bin/dmitest.py
@@ -248,7 +248,7 @@ def serial_tests(args, stream, dmi_data):
def main():
"""Main function."""
- parser = ArgumentParser("dmitest")
+ parser = ArgumentParser()
parser.add_argument('test_type',
help="Test type ('server', 'desktop' or 'cpu-check').",
choices=['server', 'desktop', 'cpu-check'])
diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu
index 56d345a..ba42da8 100644
--- a/units/miscellanea/jobs.pxu
+++ b/units/miscellanea/jobs.pxu
@@ -218,7 +218,7 @@ requires:
dmi_present.state == 'supported'
estimated_duration: 0.5
user: root
-command: dmitest cpu-check
+command: dmitest.py cpu-check
_description:
Sanity check of CPU information; fails if CPU is an engineering sample
_summary:
@@ -232,7 +232,7 @@ requires:
dmi_present.state == 'supported'
estimated_duration: 0.5
user: root
-command: dmitest server
+command: dmitest.py server
_description:
Sanity check of DMI system identification data (for servers)
_summary:
@@ -246,7 +246,7 @@ requires:
dmi_present.state == 'supported'
estimated_duration: 0.5
user: root
-command: dmitest --test_versions --test_serials desktop
+command: dmitest.py --test_versions --test_serials desktop
_description:
Sanity check of DMI system identification data (for desktops & laptops)
_summary: