diff options
| author | Jonathan Cave <jonathan.cave@canonical.com> | 2020-06-29 14:39:06 +0100 |
|---|---|---|
| committer | Jonathan Cave <jonathan.cave@canonical.com> | 2020-07-20 17:54:40 +0100 |
| commit | 00b54d4a670a1584f28dc97a663d60bfc4db5bda (patch) | |
| tree | 6e75a544566c4552ba8d0cf3251c793b2d3b3e70 /units/suspend | |
| parent | 1ae8f114e0dfa61a3b00d61fc1c3290dc1ef5a69 (diff) | |
units/*: modify all calls of geteway_ping_test
Move to renamed gateway_ping_test.py
Diffstat (limited to 'units/suspend')
| -rw-r--r-- | units/suspend/suspend.pxu | 16 |
1 files changed, 8 insertions, 8 deletions
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)") |
