tests: avoid using double newlines and other updates in full-test

This commit is contained in:
Nikos Mavrogiannopoulos
2015-05-19 19:00:53 +02:00
parent 2d386261ac
commit 419fd1e63c
7 changed files with 26 additions and 32 deletions

View File

@@ -15,12 +15,8 @@ RUN sed 's/PermitRootLogin without-password/PermitRootLogin yes/g' -i /etc/ssh/s
RUN echo 'root:root' |chpasswd
RUN useradd -m -d /home/admin -s /bin/bash admin
RUN echo 'admin:admin' |chpasswd
EXPOSE 5000
EXPOSE 5000/udp
EXPOSE 5001
EXPOSE 5001/udp
EXPOSE 5551
EXPOSE 5551/udp
EXPOSE 443
EXPOSE 443/udp
EXPOSE 22
RUN mkdir /etc/ocserv

View File

@@ -12,12 +12,8 @@ RUN sed 's/PermitRootLogin without-password/PermitRootLogin yes/g' -i /etc/ssh/s
RUN echo 'root:root' |chpasswd
RUN useradd -m -d /home/admin -s /bin/bash admin
RUN echo 'admin:admin' |chpasswd
EXPOSE 5000
EXPOSE 5000/udp
EXPOSE 5001
EXPOSE 5001/udp
EXPOSE 5551
EXPOSE 5551/udp
EXPOSE 443
EXPOSE 443/udp
EXPOSE 22
RUN mkdir /etc/ocserv

View File

@@ -40,8 +40,8 @@ max-clients = 16
max-same-clients = 2
# TCP and UDP port number
tcp-port = 5551
udp-port = 5551
tcp-port = 443
udp-port = 443
# Keepalive in seconds
keepalive = 32400
@@ -131,6 +131,8 @@ auth-timeout = 40
# a failed authentication attempt.
#min-reauth-time = 2
#max-ban-score = 50
# Cookie validity time (in seconds)
# Once a client is authenticated he's provided a cookie with
# which he can reconnect. This option sets the maximum lifetime