We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 455eea8 commit 7181289Copy full SHA for 7181289
bin/install-wp-tests.sh
@@ -111,7 +111,7 @@ install_test_suite() {
111
svn co --quiet --ignore-externals https://develop.svn.wordpress.org/${WP_TESTS_TAG}/tests/phpunit/data/ $WP_TESTS_DIR/data
112
fi
113
114
- if [ ! -f wp-tests-config.php ]; then
+ if [ ! -f "$WP_TESTS_DIR"/wp-tests-config.php ]; then
115
download https://develop.svn.wordpress.org/${WP_TESTS_TAG}/wp-tests-config-sample.php "$WP_TESTS_DIR"/wp-tests-config.php
116
# remove all forward slashes in the end
117
WP_CORE_DIR=$(echo $WP_CORE_DIR | sed "s:/\+$::")
0 commit comments