Skip to content

Commit a05593f

Browse files
committed
Fix conditional check
1 parent 4f19c42 commit a05593f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/install-wp-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ install_test_suite() {
165165
rm $TMPDIR/wordpress-develop.tar.gz
166166
fi
167167

168-
if [ ! -f wp-tests-config.php ]; then
168+
if [ ! -f "$WP_TESTS_DIR"/wp-tests-config.php ]; then
169169
if [[ $WP_TESTS_TAG == 'trunk' ]]; then
170170
ref=master
171171
elif [[ $WP_TESTS_TAG == branches/* ]]; then

0 commit comments

Comments
 (0)