summaryrefslogtreecommitdiffstats
path: root/features/support/helpers/vm_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/support/helpers/vm_helper.rb')
-rw-r--r--features/support/helpers/vm_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/support/helpers/vm_helper.rb b/features/support/helpers/vm_helper.rb
index 72448f3..975a52d 100644
--- a/features/support/helpers/vm_helper.rb
+++ b/features/support/helpers/vm_helper.rb
@@ -527,7 +527,7 @@ EOF
end
def file_overwrite(*args)
- execute_successfully("rm -f '#{args.first}'")
+ execute_successfully("truncate -s 0 '#{args.first}'")
file_append(*args)
end