diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-06-05 03:26:51 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-06-05 03:37:49 +0000 |
commit | ed9cc7ba22bab5b3f7262d869a8bc03f14b2d4cb (patch) | |
tree | 48ae9035f8d61550f92e5eed332a3839996f1a9a /test/unit | |
parent | 798ea473865e6d4a4ed2a35987ba40d2fcbfaf6f (diff) | |
download | unicorn-ed9cc7ba22bab5b3f7262d869a8bc03f14b2d4cb.tar.gz |
...than "test ?r" and "test ?w" Not everybody comes from a Unix shell programming background, even though they *should* ;)
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/test_http_parser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_http_parser.rb b/test/unit/test_http_parser.rb index b7c8a1c..e528be7 100644 --- a/test/unit/test_http_parser.rb +++ b/test/unit/test_http_parser.rb @@ -550,6 +550,6 @@ class HttpParserTest < 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 |