Skip to content

Use pwd -P to work on systemlinked locations.#1677

Merged
enebo merged 1 commit intojruby:jruby-1_7from
ratnikov:fix-symlinks-test
May 9, 2014
Merged

Use pwd -P to work on systemlinked locations.#1677
enebo merged 1 commit intojruby:jruby-1_7from
ratnikov:fix-symlinks-test

Conversation

@ratnikov
Copy link
Contributor

@ratnikov ratnikov commented May 2, 2014

Since I have my jruby.git directory in a symlinked directory, I get a failure:

  1. Failure:
    test_backquote1(TestKernel) [test/test_kernel.rb:589]:
    <"/ssd/ratnikov/jruby.git"> expected but was
    <"/usr/local/XXX/ratnikov/ssd/jruby.git">.

since Dir.pwd resolves system links and pwd apparently doesn't. Using pwd -P solves this issue.

enebo added a commit that referenced this pull request May 9, 2014
Use pwd -P to work on systemlinked locations.
@enebo enebo merged commit 1fa3fc1 into jruby:jruby-1_7 May 9, 2014
@enebo enebo added this to the JRuby 1.7.13 milestone Jun 24, 2014
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 this pull request may close these issues.

2 participants