-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Labels
Description
Describe the bug
cleanup.php is waiting for user confirmation to delete write-protected files
To Reproduce
Run cleanup.php after running the tests
Expected behavior
The cleanup should delete all files without confirmation
Screenshots
Running cleanup.php...
+ /usr/bin/php8.2 /var/www/wp-phpunit-tests/phpunit-test-runner/cleanup.php
Environment variables pass checks.
rm -rf '/var/www/wp-phpunit-tests/wp-test-runner/.git'
rm -rf '/var/www/wp-phpunit-tests/wp-test-runner/node_modules/.cache'
rm -r '/var/www/wp-phpunit-tests/wp-test-runner'
rm: remove write-protected regular file '/var/www/wp-phpunit-tests/wp-test-runner/gutenberg/.git/objects/33/3a0b46874f4a1a78db7794a9dfc7786ce54e70'?Additional context
Temporary solution is to remove the .git directory (rm -rf /var/www/wp-phpunit-tests/wp-test-runner/gutenberg/.git/) before cleanup.php
Reactions are currently unavailable