aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/script/event_test.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-20 05:32:36 +0900
committernsfisis <nsfisis@gmail.com>2026-07-20 05:32:36 +0900
commitb151ceaa798a7d2e9b55ffbc4e4b10ea8f0a59a8 (patch)
tree1ca5e068027a9bd2a478f2b13c655c31537e2b54 /crates/shirabe/tests/script/event_test.rs
parent6a2040e9c1b200530269d65e5e57f897a4f95584 (diff)
downloadphp-shirabe-b151ceaa798a7d2e9b55ffbc4e4b10ea8f0a59a8.tar.gz
php-shirabe-b151ceaa798a7d2e9b55ffbc4e4b10ea8f0a59a8.tar.zst
php-shirabe-b151ceaa798a7d2e9b55ffbc4e4b10ea8f0a59a8.zip
test(path-repository): un-ignore test_url_remains_relative
The PHP test implicitly requires the process cwd to be an ancestor of the Fixtures dir (phpunit runs inside the composer checkout); cargo runs tests from the crate manifest dir, which is not. Replicate the phpunit precondition with a drop-restoring CwdGuard chdir'ing to the __DIR__ equivalent, and serialize it (together with the only other cwd-mutating test in the repository binary, test_repository_writes_installed_php) via #[serial] so the process-global cwd cannot race. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/script/event_test.rs')
0 files changed, 0 insertions, 0 deletions