From 107f6557dbcffaf8e428fd16ddad7d52f77b33a8 Mon Sep 17 00:00:00 2001 From: Johan Holmberg <holmberg556@gmail.com> Date: Tue, 7 Apr 2009 21:00:15 +0000 Subject: [PATCH] Remove waiting in "create_file" and "touch_file". It should only be needed *before* "cmd". --- lib/cmdtest/testcase.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cmdtest/testcase.rb b/lib/cmdtest/testcase.rb index 9006391..bf36b43 100644 --- a/lib/cmdtest/testcase.rb +++ b/lib/cmdtest/testcase.rb @@ -92,7 +92,7 @@ module Cmdtest # time of the call. def create_file(filename, lines) - Util.wait_for_new_second + #Util.wait_for_new_second FileUtils.mkdir_p( File.dirname(filename) ) File.open(filename, "w") do |f| case lines @@ -110,7 +110,7 @@ module Cmdtest # time of the call. def touch_file(filename) - Util.wait_for_new_second + #Util.wait_for_new_second FileUtils.touch(filename) end