aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ttcn3-sgsn-test/Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/ttcn3-sgsn-test/Dockerfile b/ttcn3-sgsn-test/Dockerfile
index 42a53f2..fcc2c02 100644
--- a/ttcn3-sgsn-test/Dockerfile
+++ b/ttcn3-sgsn-test/Dockerfile
@@ -28,5 +28,8 @@ RUN ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-start.sh / && \
COPY SGSN_Tests.cfg /data/SGSN_Tests.cfg
-WORKDIR /data
-ENTRYPOINT ["/osmo-ttcn3-hacks/start-testsuite.sh", "/osmo-ttcn3-hacks/sgsn/SGSN_Tests"]
+CMD cd /data && \
+ /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/sgsn/SGSN_Tests; \
+ exit_code=$?; \
+ /osmo-ttcn3-hacks/log_merge.sh SGSN_Tests --rm; \
+ exit $exit_code