Skip to content

Regression test 20797 depends on /home directory #23373

Closed
@bennofs

Description

@bennofs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions