summaryrefslogtreecommitdiff
path: root/tests/helpers/os_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/helpers/os_helper.rb')
-rw-r--r--tests/helpers/os_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/os_helper.rb b/tests/helpers/os_helper.rb
index da9ac843..9923d5b1 100644
--- a/tests/helpers/os_helper.rb
+++ b/tests/helpers/os_helper.rb
@@ -32,7 +32,7 @@ class LeapTest
# runs the specified command, failing on a non-zero exit status.
#
def assert_run(command)
- output = `#{command}`
+ output = `#{command} 2>&1`
if $?.exitstatus != 0
fail "Error running `#{command}`:\n#{output}"
end