Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
huan committed Oct 7, 2015
1 parent f20ce8c commit dc83bd3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand Down
14 changes: 11 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -239,7 +247,7 @@ then
SMF_CONFIG="[email protected]:[email protected]:test-tset-testo-testi;[email protected]:[email protected]"
echo ">> Start mail server by test data: SMF_CONFIG=$SMF_CONFIG"
start_postfix
sleep 3
sleep 1

echo ">> exec bats $opts"
exec bats $opts
Expand Down

0 comments on commit dc83bd3

Please sign in to comment.