Skip to content

tmpdir argument is not a realpath, causing symlink-related issues when chdir'ed #110

@pytestbot

Description

@pytestbot

Originally reported by: BitBucket: offbyone, GitHub: offbyone


I've observed this in the tox test suite, which does a chdir to the tmpdir when running tests using it. Mac OSX symlinks /tmp -> /private/tmp, and defines the system temp dir as /tmp; this cause the realpath and detected path of tmpdir to vary.


Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugproblem that needs to be addressed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions