diff options
author | Samuli Seppänen | 2016-10-03 13:51:27 +0300 |
---|---|---|
committer | Gert Doering | 2016-10-04 11:16:22 +0200 |
commit | df0b00c253e41cce9567be79dbd3faa14c60473b (patch) | |
tree | 6cf54a16e1f95feee81b9c6dbee9823e1de06e0e /.gitignore | |
parent | 348c416face9a025b618ebcae9d3a74c5a4a242b (diff) | |
download | openvpn-df0b00c253e41cce9567be79dbd3faa14c60473b.zip openvpn-df0b00c253e41cce9567be79dbd3faa14c60473b.tar.gz |
Automatically cache expected IPs for t_client.sh on the first run
Previously one had to manually define correct values for the
EXPECT_IFCONFIG* variables based on what IPv4 and IPv6 addresses
the test VPN server handed out.
This was a tedious process especially with large number of tests,
as the IPs changed for every test client and for every test. With this
patch t_client.sh figures out the correct IP addresses using an
--up script and caches them to a separate file for later use.
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <1475491887-740-1-git-send-email-samuli@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg12587.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -55,6 +55,7 @@ distro/rpm/openvpn.spec tests/t_client.sh tests/t_client-*-20??????-??????/ t_client.rc +t_client_ips.rc src/openvpn/openvpn include/openvpn-plugin.h |