From 6d9aecae4cff9a395028216618f422b84a767ad7 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Fri, 8 Jul 2016 14:31:43 +0100 Subject: [PATCH] capture exit code of the test run. --- services/document-updater/test/acceptance/scripts/full-test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/document-updater/test/acceptance/scripts/full-test.sh b/services/document-updater/test/acceptance/scripts/full-test.sh index 7a90c95b84..d4dd5e0419 100644 --- a/services/document-updater/test/acceptance/scripts/full-test.sh +++ b/services/document-updater/test/acceptance/scripts/full-test.sh @@ -11,8 +11,11 @@ sleep 20 echo ">> Running acceptance tests..." grunt test:acceptance +_test_exit_code=$? echo ">> Killing server (pid: $_pid)" kill -1 "$_pid" echo ">> Done" + +exit $_test_exit_code