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