diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-03 09:55:05 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-03 09:55:05 +0000 |
commit | 35d7ae85eef59c2e50f8cd086b6baf48feb72fb9 (patch) | |
tree | 26bdb8350b2d1d5fc613e395aa1998730f549269 /spec/ruby/core/dir/home_spec.rb | |
parent | 07a5db2c3223e5fa706c5b7040ca28e2bca44ca0 (diff) | |
download | ruby-35d7ae85eef59c2e50f8cd086b6baf48feb72fb9.tar.gz |
Use /bin/echo instead of shell builtin echo
builtin echo of Solaris 10's sh doesn't expand `~`.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10x/ruby-trunk/log/20181203T061807Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/core/dir/home_spec.rb')
-rw-r--r-- | spec/ruby/core/dir/home_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/dir/home_spec.rb b/spec/ruby/core/dir/home_spec.rb index 8180ce38be..8935eb4f4b 100644 --- a/spec/ruby/core/dir/home_spec.rb +++ b/spec/ruby/core/dir/home_spec.rb @@ -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 |