summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <tails@boum.org>2015-02-18 10:41:05 +0000
committerTails developers <tails@boum.org>2015-02-18 10:41:05 +0000
commit4035e748b09b442b27a334c06bb209eaf1d24e87 (patch)
treeb1744a42dd6645bb982f06fe0a7f4db69b783da9
parent22fef2ac412ae7fc0d70f76d60d5d569974bcd5d (diff)
Wrap command in cmd_helper.
-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}'")