From a2e6cad8216bcf3db9173dc176b8a91e8824d220 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 27 Sep 2004 12:51:18 +0000 Subject: [PATCH] Merged 2215 --- tests/run.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/run.rb b/tests/run.rb index 318a2e04a..7841d6a93 100755 --- a/tests/run.rb +++ b/tests/run.rb @@ -37,7 +37,7 @@ class Test def sys(command, *arg) @commands.push(command) command += "&> /dev/null" unless (command =~ />/) - puts("[running #{command}]") if (ENV["DEBUG"] == "yes") + $stderr.puts(command) if (ENV["DEBUG"] == "yes") if (!system(command)) if ((arg.size == 0) || ((arg[0] << 8) != $?)) error("system command failed: #{command} (" + ($? >> 8).to_s + ")") @@ -57,7 +57,7 @@ class Test end def hash_file(name) - puts("[running md5sum #{name}]") if (ENV["DEBUG"] == "yes") + $stderr.puts("md5sum #{name}") if (ENV["DEBUG"] == "yes") return `md5sum #{name}`.chomp.gsub(/\s+.*/, "") end