diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Dockerfile | 2 | ||||
-rwxr-xr-x | scripts/run_test.sh | 4 |
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 |