updated docker test.

This commit is contained in:
Nikos Mavrogiannopoulos
2014-05-09 16:08:05 +02:00
parent 969e684960
commit 2c3d7ff978
2 changed files with 10 additions and 0 deletions

View File

@@ -6,6 +6,8 @@ RUN apt-get install -y libwrap0 libpam0g libseccomp2 libdbus-1-3 libreadline5 li
RUN apt-get install -y libprotobuf-c0 libhttp-parser2.1 libpcl1 libopts25 autogen
RUN apt-get install -y libsystemd-daemon0 valgrind nuttcp openssh-server bash
#RUN apt-get install -y inotify-tools
RUN apt-get update
RUN apt-get install -y libtalloc2
RUN echo 'root:root' |chpasswd
RUN useradd -m -d /home/admin -s /bin/bash admin

View File

@@ -45,6 +45,14 @@ if test $? = 0;then
exit 77
fi
grep without-http-parser $srcdir/../config.log >/dev/null 2>&1
if test $? != 0;then
echo "****************************************************************"
echo "This test requires compiling ocserv using --without-http-parser"
echo "****************************************************************"
exit 77
fi
stop() {
$DOCKER stop test_ocserv
$DOCKER rm test_ocserv