diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-03-01 00:03:29 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-03-03 11:13:10 -0800 |
commit | 9a7e1f1a7e986a59eb4be9b6a4d093f3366c9c72 (patch) | |
tree | 5198158b519fea934252f2eccf18be3a4611f8c1 /test/exec | |
parent | 609c562c3c273ef13c64dfcd56b29115fd8fd81f (diff) | |
download | unicorn-9a7e1f1a7e986a59eb4be9b6a4d093f3366c9c72.tar.gz |
Oops, that was making debugging tests quite difficult.
Diffstat (limited to 'test/exec')
-rw-r--r-- | test/exec/test_exec.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/exec/test_exec.rb b/test/exec/test_exec.rb index 5806210..583c81d 100644 --- a/test/exec/test_exec.rb +++ b/test/exec/test_exec.rb @@ -11,9 +11,12 @@ DEFAULT_RES = 0.2 $unicorn_bin = ENV['UNICORN_TEST_BIN'] || "unicorn" redirect_test_io do - do_test = system($unicorn_bin, '-v') or \ - STDERR.puts "#{$unicorn_bin} not found in PATH=#{ENV['PATH']}, "\ - "skipping this test" + do_test = system($unicorn_bin, '-v') +end + +unless do_test + STDERR.puts "#{$unicorn_bin} not found in PATH=#{ENV['PATH']}, " \ + "skipping this test" end begin |