From 00b54d4a670a1584f28dc97a663d60bfc4db5bda Mon Sep 17 00:00:00 2001 From: Jonathan Cave Date: Mon, 29 Jun 2020 14:39:06 +0100 Subject: units/*: modify all calls of geteway_ping_test Move to renamed gateway_ping_test.py --- units/suspend/suspend.pxu | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'units/suspend') diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index eacc827..a71c85a 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -4,7 +4,7 @@ id: suspend/network_before_suspend depends: ethernet/detect estimated_duration: 1.2 _summary: Record the current network before suspending. -command: set -o pipefail; gateway_ping_test | tee "$PLAINBOX_SESSION_SHARE"/network_before_suspend.txt +command: set -o pipefail; gateway_ping_test.py | tee "$PLAINBOX_SESSION_SHARE"/network_before_suspend.txt plugin: shell category_id: com.canonical.plainbox::suspend @@ -407,7 +407,7 @@ id: suspend/network_after_suspend estimated_duration: 20.0 depends: suspend/suspend_advanced suspend/network_before_suspend _description: Test the network after resuming. -command: network_wait.py; gateway_ping_test | diff "$PLAINBOX_SESSION_SHARE"/network_before_suspend.txt - +command: network_wait.py; gateway_ping_test.py | diff "$PLAINBOX_SESSION_SHARE"/network_before_suspend.txt - plugin: shell category_id: com.canonical.plainbox::suspend @@ -692,7 +692,7 @@ command: connect_wireless.sh # lp:1471663 INTERFACE=$(nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}') iw dev "$INTERFACE" link - gateway_ping_test --interface="$INTERFACE" + gateway_ping_test.py --interface="$INTERFACE" STATUS=$? # We reconnect the Ethernet connection if any (lp:1471663) WIRED=$(nmcli -f UUID,TYPE c | grep -oP ".*(?=\s+.*ethernet)") @@ -733,7 +733,7 @@ command: connect_wireless.sh # lp:1471663 INTERFACE=$(nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}') iw dev "$INTERFACE" link - gateway_ping_test --interface="$INTERFACE" + gateway_ping_test.py --interface="$INTERFACE" STATUS=$? # We reconnect the Ethernet connection if any (lp:1471663) WIRED=$(nmcli -f UUID,TYPE c | grep -oP ".*(?=\s+.*ethernet)") @@ -774,7 +774,7 @@ command: connect_wireless.sh # lp:1471663 INTERFACE=$(nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}') iw dev "$INTERFACE" link - gateway_ping_test --interface="$INTERFACE" + gateway_ping_test.py --interface="$INTERFACE" STATUS=$? # We reconnect the Ethernet connection if any (lp:1471663) WIRED=$(nmcli -f UUID,TYPE c | grep -oP ".*(?=\s+.*ethernet)") @@ -815,7 +815,7 @@ command: connect_wireless.sh # lp:1471663 INTERFACE=$(nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}') iw dev "$INTERFACE" link - gateway_ping_test --interface="$INTERFACE" + gateway_ping_test.py --interface="$INTERFACE" STATUS=$? # We reconnect the Ethernet connection if any (lp:1471663) WIRED=$(nmcli -f UUID,TYPE c | grep -oP ".*(?=\s+.*ethernet)") @@ -856,7 +856,7 @@ command: connect_wireless.sh # lp:1471663 INTERFACE=$(nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}') iw dev "$INTERFACE" link - gateway_ping_test --interface="$INTERFACE" + gateway_ping_test.py --interface="$INTERFACE" STATUS=$? # We reconnect the Ethernet connection if any (lp:1471663) WIRED=$(nmcli -f UUID,TYPE c | grep -oP ".*(?=\s+.*ethernet)") @@ -897,7 +897,7 @@ command: connect_wireless.sh # lp:1471663 INTERFACE=$(nmcli dev status | awk '/802-11-wireless|wifi/ {print $1}') iw dev "$INTERFACE" link - gateway_ping_test --interface="$INTERFACE" + gateway_ping_test.py --interface="$INTERFACE" STATUS=$? # We reconnect the Ethernet connection if any (lp:1471663) WIRED=$(nmcli -f UUID,TYPE c | grep -oP ".*(?=\s+.*ethernet)") -- cgit v1.2.3