Skip to content

Regression test 20797 depends on /home directory #23373

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

Closed
bennofs opened this issue Mar 15, 2015 · 2 comments
Closed

Regression test 20797 depends on /home directory #23373

bennofs opened this issue Mar 15, 2015 · 2 comments

Comments

@bennofs
Copy link

bennofs commented Mar 15, 2015

The regression tests for issue #20797 needs the /home directory to be present. I hit this problem when trying to build rust master/alpha2 with Nix, which uses chroots for building where /home is not available.

Running make check will produce the following error if no /home directory is present:

executing x86_64-unknown-linux-gnu/test/run-pass/issue-20797.stage2-x86_64-unknown-linux-gnu 
------stdout------------------------------

------stderr------------------------------
thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: IoError { kind: FileNotFound, desc: "couldn\'t read directory", detail: Some("no such file or directory (No such file or directory); path=/home") }', /tmp/nix-build-rustc-1.0.0-dev-g91bdf23.drv-0/rust-91bdf23/src/libcore/result.rs:744

------------------------------------------

It would be nice if the test suite could be run without needing /home.

@fhahn
Copy link
Contributor

fhahn commented Mar 21, 2015

I think this issue was fixed in 212e031 .

Now the walker is not executed and the path is not accessed any more.

@bennofs
Copy link
Author

bennofs commented Mar 22, 2015

Looks OK. Thanks

@bennofs bennofs closed this as completed Mar 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants