1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use /bin/echo instead of shell builtin echo

builtin echo of Solaris 10's sh doesn't expand `~`.
20181203T061807Z.fail.html.gz

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2018-12-03 09:55:05 +00:00
parent 07a5db2c32
commit 35d7ae85ee
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ describe "Dir.home" do
platform_is_not :windows do
it "returns the named user's home directory, from the user database, as a string if called with an argument" do
Dir.home(ENV['USER']).should == `echo ~#{ENV['USER']}`.chomp
Dir.home(ENV['USER']).should == `/bin/echo ~#{ENV['USER']}`.chomp
end
end