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-ca | |
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-ca')
-rwxr-xr-x | debian/tests/server-setup-with-ca | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/tests/server-setup-with-ca b/debian/tests/server-setup-with-ca index 58df2e9..08a879e 100755 --- a/debian/tests/server-setup-with-ca +++ b/debian/tests/server-setup-with-ca @@ -75,10 +75,10 @@ info "Check if Diffie-Hellman was initialized" cat $LOG_FILE | grep 'Diffie-Hellman initialized' 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 network route was correctly configured" -cat $LOG_FILE | grep "/sbin/ip route add $IP_NETWORK/24" +cat $LOG_FILE | grep "net_route_v4_add: $IP_NETWORK/24 via" info "Check if the Initialization Sequence completed" cat $LOG_FILE | grep 'Initialization Sequence Completed' |