From dc83bd3c3732394f4bea60a98ac5bce023863f25 Mon Sep 17 00:00:00 2001 From: Zhuohuan LI Date: Wed, 7 Oct 2015 14:32:25 +0000 Subject: [PATCH] minor changes --- Dockerfile | 1 + entrypoint.sh | 14 +++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6790e16..1520fd1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,6 +21,7 @@ RUN apk add --update \ && tar -xzf "/tmp/v${BATS_VERSION}.tar.gz" -C /tmp/ \ && bash "/tmp/bats-${BATS_VERSION}/install.sh" /usr/local \ \ + && touch /var/log/messages \ && rm -rf /var/cache/apk/* \ && rm -rf /tmp/* diff --git a/entrypoint.sh b/entrypoint.sh index 161fa57..6030ac0 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -171,8 +171,16 @@ function test_running_env { echo ">> Test PASSED" else echo ">> Test FAILED!" - echo ">> FIX need." - exit 1 + + echo ">> !!!!!!!!!!!!!!!!!!!! SYSTEM ERROR !!!!!!!!!!!!!!!!!!!!" + echo ">> !!!!!!!!!!!!!!!!!!!! SYSTEM ERROR !!!!!!!!!!!!!!!!!!!!" + echo ">> !!!!!!!!!!!!!!!!!!!! SYSTEM ERROR !!!!!!!!!!!!!!!!!!!!" + echo ">> !!!!!!!!!!!!!!!!!!!! SYSTEM ERROR !!!!!!!!!!!!!!!!!!!!" + echo ">> !!!!!!!!!!!!!!!!!!!! SYSTEM ERROR !!!!!!!!!!!!!!!!!!!!" + echo ">> !!!!!!!!!!!!!!!!!!!! SYSTEM ERROR !!!!!!!!!!!!!!!!!!!!" + echo ">> !!!!!!!!!!!!!!!!!!!! SYSTEM ERROR !!!!!!!!!!!!!!!!!!!!" + + echo ">> But I'll pretend to run... good luck! :P" fi } @@ -239,7 +247,7 @@ then SMF_CONFIG="test@test.com:tset@tset.com:test-tset-testo-testi;testo@testo.com:testi@testi.com" echo ">> Start mail server by test data: SMF_CONFIG=$SMF_CONFIG" start_postfix - sleep 3 + sleep 1 echo ">> exec bats $opts" exec bats $opts