From aa7ed10968508f0390fba88c3bb2f2b0e8db9415 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 18 Mar 2014 19:03:25 -0500 Subject: Make relative symlinks in Pathname#install_symlink Closes Homebrew/homebrew#27672. --- Library/Homebrew/test/test_pathname.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Homebrew/test') diff --git a/Library/Homebrew/test/test_pathname.rb b/Library/Homebrew/test/test_pathname.rb index 37b85a07d..03e4df54c 100644 --- a/Library/Homebrew/test/test_pathname.rb +++ b/Library/Homebrew/test/test_pathname.rb @@ -194,6 +194,8 @@ class PathnameExtensionTests < Test::Unit::TestCase assert((@dst+'bin').directory?) assert((@dst+'bin/a.txt').exist?) assert((@dst+'bin/b.txt').exist?) + + assert((@dst+'bin').readlink.relative?) end end -- cgit v1.2.3