summaryrefslogtreecommitdiffstats
path: root/features/support/helpers/misc_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/support/helpers/misc_helpers.rb')
-rw-r--r--features/support/helpers/misc_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/support/helpers/misc_helpers.rb b/features/support/helpers/misc_helpers.rb
index e2d57a3..82b05e6 100644
--- a/features/support/helpers/misc_helpers.rb
+++ b/features/support/helpers/misc_helpers.rb
@@ -124,7 +124,7 @@ def get_free_space(machine, path)
case machine
when 'host'
assert(File.exists?(path), "Path '#{path}' not found on #{machine}.")
- free = `df "#{path}"`
+ free = cmd_helper("df '#{path}'")
when 'guest'
assert(@vm.file_exist?(path), "Path '#{path}' not found on #{machine}.")
free = @vm.execute_successfully("df '#{path}'")