diff options
author | Bernhard Schmidt <berni@debian.org> | 2021-05-13 21:34:49 +0200 |
---|---|---|
committer | Bernhard Schmidt <berni@debian.org> | 2021-05-13 21:34:49 +0200 |
commit | f7be1241bce9ce4960dfcf708cc0a94c02ff55e0 (patch) | |
tree | bf9db85f48957a8aec987d1f9f029b91762c281f /debian/tests/server-setup-with-static-key | |
parent | 97fe526142e16e550572991c109f7926cc444cbc (diff) |
Adapt autopkgtest output to 2.5
OpenVPN 2.5 slightly changed the output of some steps due to
the switch from iproute2 to the newer Netlink based interface.
This was not noticed because the autopkgtest of OpenVPN is not
run in debci infrastructure (machine-isolation not supported)
This patch was imported from Ubuntu, thanks a lot!
Partially fixes Bug#983662, but there is more work to do
Diffstat (limited to 'debian/tests/server-setup-with-static-key')
-rwxr-xr-x | debian/tests/server-setup-with-static-key | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/tests/server-setup-with-static-key b/debian/tests/server-setup-with-static-key index 9ddaecd..8c0addf 100755 --- a/debian/tests/server-setup-with-static-key +++ b/debian/tests/server-setup-with-static-key @@ -50,10 +50,10 @@ info "Check if the $STATIC_KEY is used by OpenVPN" cat $LOG_FILE | grep "shared_secret_file = '$CONFIG_DIR/$STATIC_KEY'" info "Check if the $DEVICE is linked" -cat $LOG_FILE | grep "/sbin/ip link set dev $DEVICE up" +cat $LOG_FILE | grep "net_iface_up: set $DEVICE up" info "Check if the specified IP addresses were configured" -cat $LOG_FILE | grep "/sbin/ip addr add dev tun0 local $IP_SERVER peer $IP_CLIENT" +cat $LOG_FILE | grep "net_addr_ptp_v4_add: $IP_SERVER peer $IP_CLIENT dev tun0" # Clean up: kill tha OpenVPN process, remove the $DEVICE created and $STATIC_KEY cleanup() { |