From 209baec4b73cef64860baea5b49429c240efca3d Mon Sep 17 00:00:00 2001 From: sc0Vu Date: Mon, 19 Mar 2018 10:08:58 +0800 Subject: [PATCH] Return test script status. --- scripts/test.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/test.sh b/scripts/test.sh index c61064d..2fdbfe7 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -7,6 +7,9 @@ echo "Start ganache-cli pid: $ganachecli_pid and sleep 3 seconds" sleep 3 vendor/bin/phpunit --coverage-clover=coverage.xml +ret=$? kill -9 $ganachecli_pid -echo "Kill ganache-cli" \ No newline at end of file +echo "Kill ganache-cli" + +return $ret \ No newline at end of file