-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests/ui/io-checks
fail locally on master
#110794
Comments
The test assumes that the compiler uses rust/compiler/rustc_interface/src/passes.rs Lines 608 to 612 in 999e6e5
The test happens to pass in the CI and for many developers because you generally can't create a directory in @jyn514 suggests that the proper fix for the test would be for the test to create an inaccessible directory, basically making a |
Fix `ui/io-checks/inaccessbile-temp-dir.rs` test Fixes rust-lang#110794 r? `@jyn514`
That still doesn't work if you're the root user, but I guess that's not what you're doing in your chroot? You could use a path like |
I guess my point is that So change
My change:
Sooo, while |
Yeah, that's fair -- we don't have to support root, but it should at least do no harm. While you're poking at that, maybe you can fix the filename spelling to "inaccessible"? |
Fixed the spelling, thanks. |
The
tests/ui/io-checks/inaccessbile-temp-dir.rs
test fails for me locally on the master branch (and was failing for a while now). I can of course ignore it, but it's annoying.tests/ui/io-checks/non-ice-error-on-worker-io-fail.rs
also fails if run after/withinaccessbile-temp-dir.rs
.It looks like
inaccessbile-temp-dir.rs
successfully creates a temp directory even if it's parent does not exist:output
This causes the failure (as the test is expected to not compile) and also creates the directory, which
non-ice-error-on-worker-io-fail.rs
then observes and also fails.This happens for me on the
dev-desktop-eu-1
.cc @fee1-dead iirc you had the same problems
cc @cuviper you changed those tests at some point, so maybe you know something
The text was updated successfully, but these errors were encountered: