diff --git a/script/build/test_shutdown.sh b/script/build/test_shutdown.sh index b2da7e105..a80f88245 100755 --- a/script/build/test_shutdown.sh +++ b/script/build/test_shutdown.sh @@ -15,7 +15,7 @@ if [ -f $SERVER_PID ]; then kill -9 $(cat $SERVER_PID) fi -if WITH_DB; then +if test $WITH_DB -eq 1; then script/build/test_cleanup.sh fi diff --git a/script/build/test_startup.sh b/script/build/test_startup.sh index 6e9ca69c8..2648e25f5 100755 --- a/script/build/test_startup.sh +++ b/script/build/test_startup.sh @@ -4,7 +4,7 @@ APP_PORT=$2 WS_PORT=$3 WITH_DB=$4 || 0 -if WITH_DB; then +if test $WITH_DB -eq 1; then script/bootstrap.sh fi