summaryrefslogtreecommitdiff
path: root/tests/helpers
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-05-16 15:26:55 -0700
committerelijah <elijah@riseup.net>2016-05-16 15:26:55 -0700
commit22286f450bef6a28a08f5ff527e3a4f040fab4c3 (patch)
treeb3e14d16b5ebecf236c56cdece80d3e133d6c5f8 /tests/helpers
parente35fca3d367a6294123a0d9a2c077f4db7dfe809 (diff)
[test] added tests that use postmap -q to verify that leap_mx is returning results
Diffstat (limited to 'tests/helpers')
-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