tests: check whether IPs are being passed correctly to script when in proxyproto

That is check whether the remote IP passed is other than localhost,
and there is a non-empty IP_REAL_LOCAL.
This commit is contained in:
Nikos Mavrogiannopoulos
2015-08-22 20:07:59 +02:00
parent f8c7bccfa1
commit 8ed48a14bb
6 changed files with 55 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ ADD ocserv /usr/sbin/
ADD ocpasswd /usr/bin/
ADD occtl /usr/bin/
ADD myscript /usr/bin/
ADD proxy-connectscript /usr/bin/
# It's not possible to use mknod inside a container with the default LXC
# template, so we untar it from this archive.
ADD dev-tun.tgz /dev/