summaryrefslogtreecommitdiff
path: root/units/wwan
diff options
authorJonathan Cave <jonathan.cave@canonical.com>2020-02-03 17:47:52 +0000
committerJonathan Cave <jonathan.cave@canonical.com>2020-02-03 17:47:52 +0000
commit349eda4e7b58fc751d1fd48931e19a2c614e0a5e (patch)
treee352c8af8f3e27d6c80171fdd24cd55c9590b98f /units/wwan
parent6fe724aeff8e688ba2a1d582226799181e145315 (diff)
wwan_tests: rename to wwan_tests.py
Diffstat (limited to 'units/wwan')
-rw-r--r--units/wwan/jobs.pxu8
-rw-r--r--units/wwan/resource.pxu2
2 files changed, 5 insertions, 5 deletions
diff --git a/units/wwan/jobs.pxu b/units/wwan/jobs.pxu
index d18cdc3..b031385 100644
--- a/units/wwan/jobs.pxu
+++ b/units/wwan/jobs.pxu
@@ -15,7 +15,7 @@ _purpose:
plugin: shell
user: root
command:
- COUNT=$(wwan_tests count)
+ COUNT=$(wwan_tests.py count)
if [ $COUNT -eq 0 ]; then
exit 1
fi
@@ -38,7 +38,7 @@ _description:
plugin: shell
command:
BEGIN_CONNECTION_TEST_TS=`date '+%Y-%m-%d %H:%M:%S'`
- wwan_tests 3gpp-connection $WWAN_CONTROL_IF $WWAN_NET_IF $WWAN_APN ${{WWAN_SETUPTIME:-30}}
+ wwan_tests.py 3gpp-connection $WWAN_CONTROL_IF $WWAN_NET_IF $WWAN_APN ${{WWAN_SETUPTIME:-30}}
RETVAL=$?
if [ $RETVAL -ne 0 ]; then
echo "==== Service units logs ===="
@@ -64,7 +64,7 @@ _summary: Check if a SIM card is present in a slot connected to the modem
_description:
Check if a SIM card is present in a slot connected to the modem
plugin: shell
-command: wwan_tests sim-present {hw_id}
+command: wwan_tests.py sim-present {hw_id}
environ: LD_LIBRARY_PATH
user: root
estimated_duration: 10.0
@@ -90,7 +90,7 @@ _steps:
1. Start the test to automatically retrieve information from the SIM card
_verification:
Check the output, if as expected then mark the test as passed.
-command: wwan_tests sim-info {hw_id}
+command: wwan_tests.py sim-info {hw_id}
environ: LD_LIBRARY_PATH
user: root
estimated_duration: 5s
diff --git a/units/wwan/resource.pxu b/units/wwan/resource.pxu
index a0e82ff..0197f15 100644
--- a/units/wwan/resource.pxu
+++ b/units/wwan/resource.pxu
@@ -11,7 +11,7 @@ category_id: wwan
plugin: resource
_summary: Gather device info about WWAN modems
_description: Gather device info about WWAN modems
-command: wwan_tests --use-cli resources
+command: wwan_tests.py --use-cli resources
user: root
estimated_duration: 3s
flags: preserve-locale