Skip to content

Test sources require filesystems with case-sensitiveness #6734

@jieyouxu

Description

@jieyouxu

I ran

$ git clone git@github.com:rust-lang/rustfmt.git
warning: the following paths have collided (e.g. case-sensitive paths on a case-insensitive filesystem) and only one from the same colliding group is in the working tree: 'tests/source/reorder_modules/ABCD/mod.rs' 'tests/source/reorder_modules/abcd/mod.rs' 'tests/source/reorder_modules/ZYXW/mod.rs' 'tests/source/reorder_modules/zyxw/mod.rs' 'tests/target/reorder_modules/ABCD/mod.rs' 'tests/target/reorder_modules/abcd/mod.rs' 'tests/target/reorder_modules/ZYXW/mod.rs' 'tests/target/reorder_modules/zyxw/mod.rs' 

I guess this is fine, if we require that the test sources be only run under a case-sensitive filesystem? 🤷

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-metaArea: meta (e.g. triagebot configuration)A-test-suiteArea: test suitesC-discussionCategory: discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions