aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Dockerfile2
-rwxr-xr-xscripts/run_test.sh4
2 files changed, 5 insertions, 1 deletions
diff --git a/scripts/Dockerfile b/scripts/Dockerfile
index 61085b5..f45af42 100644
--- a/scripts/Dockerfile
+++ b/scripts/Dockerfile
@@ -25,4 +25,4 @@ RUN apt-get install -y \
COPY . /root/src/sweetcomb
WORKDIR /root/src/sweetcomb
-RUN make install-dep && make build-scvpp && make build-plugins \ No newline at end of file
+RUN make install-dep && make build-scvpp && make build-plugins
diff --git a/scripts/run_test.sh b/scripts/run_test.sh
index 282ecb9..76b1ca1 100755
--- a/scripts/run_test.sh
+++ b/scripts/run_test.sh
@@ -47,6 +47,10 @@ docker exec -it ${CONTAINER} bash -c "
if [ "$?" == 0 ]; then
echo "Run tests"
docker exec -it ${CONTAINER} bash -c "
+ useradd user
+ echo -e \"user\nuser\" | passwd user
+ "
+ docker exec -it ${CONTAINER} bash -c "
echo -e \"0000\n0000\" | passwd
mkdir /var/log/vpp"
fi