mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-13 18:12:03 +08:00
updated docker test.
This commit is contained in:
@@ -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 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 libsystemd-daemon0 valgrind nuttcp openssh-server bash
|
||||||
#RUN apt-get install -y inotify-tools
|
#RUN apt-get install -y inotify-tools
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get install -y libtalloc2
|
||||||
|
|
||||||
RUN echo 'root:root' |chpasswd
|
RUN echo 'root:root' |chpasswd
|
||||||
RUN useradd -m -d /home/admin -s /bin/bash admin
|
RUN useradd -m -d /home/admin -s /bin/bash admin
|
||||||
|
|||||||
@@ -45,6 +45,14 @@ if test $? = 0;then
|
|||||||
exit 77
|
exit 77
|
||||||
fi
|
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() {
|
stop() {
|
||||||
$DOCKER stop test_ocserv
|
$DOCKER stop test_ocserv
|
||||||
$DOCKER rm test_ocserv
|
$DOCKER rm test_ocserv
|
||||||
|
|||||||
Reference in New Issue
Block a user