diff --git a/tests/docker-ocserv/Dockerfile b/tests/docker-ocserv/Dockerfile index 7a6883c3..542c30dc 100644 --- a/tests/docker-ocserv/Dockerfile +++ b/tests/docker-ocserv/Dockerfile @@ -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 diff --git a/tests/full-test b/tests/full-test index f5b68567..89772f75 100755 --- a/tests/full-test +++ b/tests/full-test @@ -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