Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input request from install-wp-tests.sh hangs dockunit #172

Open
javaongsan opened this issue Aug 13, 2017 · 2 comments
Open

input request from install-wp-tests.sh hangs dockunit #172

javaongsan opened this issue Aug 13, 2017 · 2 comments

Comments

@javaongsan
Copy link

+echo 'Hey, this is going to create a databse or stomp out '"$DB_NAME"' if it exists, continue? [y/n]'
 +read -r GO_ON
 +
 +if [[ 'y' != "$GO_ON" ]]; then
 +	echo 'See ya! http://bit.ly/2sxOB0u'
 +	exit;
 +fi

This part of the code hangs the dock container if you use dockunit.

@binarygary
Copy link
Contributor

I'm not familiar very familiar with dockunit but a quick search got me up to speed.
My assumption is that the prompt is problematic as it's spinning up environ and running tests.

Would simply adding a "yes" flag or something of the sort fix this?

@javaongsan
Copy link
Author

It basically stops and waits for the input so a "yes" flag should solve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants