Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ RUN set -xe; \
mv /tmp/walter_linux_amd64/walter /usr/local/bin; \
\
{ \
echo 'export PS1="\u@${WODBY_APP_NAME:-php}.${WODBY_ENVIRONMENT_NAME:-container}:\w $ "'; \
echo 'export PS1="\u@$(hostname):\w $ "'; \
# Make sure PATH is the same for ssh sessions. \
echo "export PATH=${PATH}"; \
} | tee /home/wodby/.shrc; \
Expand Down
7 changes: 7 additions & 0 deletions 8/tests/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ if [[ -n "${DEBUG}" ]]; then
set -x
fi

source /home/wodby/.shrc
expected_prompt='\u@'"$(hostname)"':\w $ '
if [[ "${PS1}" != "${expected_prompt}" ]]; then
echo "Unexpected shell prompt: ${PS1}"
exit 1
fi

php -m > ~/php_modules.tmp
echo -n "Checking PHP modules... "

Expand Down