aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndrej Kozemcak <andrej.kozemcak@pantheon.tech>2019-06-03 14:44:09 +0200
committerHongjun Ni <hongjun.ni@intel.com>2019-06-13 02:33:12 +0000
commit86af475f838adff5c44bb8eccdfba2d665975451 (patch)
tree294b7ecf1939755502ca6e9179b10f764b9a440c /scripts
parent866d47a41d198680426c095362d97ed218e4f94f (diff)
[TEST] - Jenkins dependence
- Update libssl for ubuntu 16.04 - Change ssh password for netopeer - Handle exception Change-Id: Ic13d96491a67496cba2b6ef698698b855ee67fd1 Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
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