diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-04-21 15:29:10 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-04-21 15:29:10 -0700 |
commit | 9c6fd3814b6bed2772fc540e7824febe85e9b046 (patch) | |
tree | a76024497f55044c2668bd7fda1987b36d2ff3d7 | |
parent | 0313f0651caf9ef35d320c6049d4f32ace711457 (diff) | |
download | clogger-9c6fd3814b6bed2772fc540e7824febe85e9b046.tar.gz |
-rw-r--r-- | test/test_clogger.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_clogger.rb b/test/test_clogger.rb index 42cab1c..a20793c 100644 --- a/test/test_clogger.rb +++ b/test/test_clogger.rb @@ -621,6 +621,6 @@ class TestClogger < Test::Unit::TestCase diff = after - before assert(diff < 10000, "memory grew more than 10M: #{diff}") end - end if RUBY_PLATFORM =~ /linux/ && test(?r, LINUX_PROC_PID_STATUS) + end if RUBY_PLATFORM =~ /linux/ && File.readable?(LINUX_PROC_PID_STATUS) end |