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

Merged
merged 1 commit into from May 9, 2014

Projects

None yet

2 participants

@ratnikov
Contributor
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 enebo merged commit 1fa3fc1 into jruby:jruby-1_7 May 9, 2014

1 check failed

continuous-integration/travis-ci The Travis CI build failed
Details
@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