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

* test/lib/memory_status.rb: removed redundant path.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2015-07-06 08:27:41 +00:00
parent 0918c27a40
commit 4d419a54f3
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Mon Jul 6 16:42:10 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* test/lib/memory_status.rb: removed redundant path.
Mon Jul 6 01:18:11 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> Mon Jul 6 01:18:11 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/lib/test/unit/parallel.rb: make @@project_dir one level * test/lib/test/unit/parallel.rb: make @@project_dir one level

View file

@ -60,7 +60,7 @@ module Memory
end end
else else
PAT = /^\s*(\d+)\s+(\d+)$/ PAT = /^\s*(\d+)\s+(\d+)$/
require_relative '../lib/find_executable' require_relative 'find_executable'
if PSCMD = EnvUtil.find_executable("ps", "-ovsz=", "-orss=", "-p", $$.to_s) {|out| PAT =~ out} if PSCMD = EnvUtil.find_executable("ps", "-ovsz=", "-orss=", "-p", $$.to_s) {|out| PAT =~ out}
PSCMD.pop PSCMD.pop
end end