Skip to content
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

test: add support for NODE_TEST_DIR on a separate mount point #21552

Closed
wants to merge 1 commit into from

Commits on Jun 26, 2018

  1. test: add support for NODE_TEST_DIR on a separate mount point

    Linux permits a filesystem to be mounted at multiple points, but
    `fs.renameSync` does not work across different mount points, even if the
    same filesystem is mounted on both.
    This fixes failing tests when NODE_TEST_DIR mount point is different
    from the one on which the tests are executed (E.G. on a separate
    partition).
    
    Ref: http://man7.org/linux/man-pages/man2/rename.2.html
    aduh95 committed Jun 26, 2018
    Configuration menu
    Copy the full SHA
    cf8a1ec View commit details
    Browse the repository at this point in the history