Remove waiting in "create_file" and "touch_file".

It should only be needed *before* "cmd".
This commit is contained in:
Johan Holmberg 2009-04-07 21:00:15 +00:00 committed by holmberg556
parent e722de3e84
commit 107f6557db

View File

@ -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