diff options
author | elijah <elijah@riseup.net> | 2016-05-16 15:26:55 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-05-16 15:26:55 -0700 |
commit | 22286f450bef6a28a08f5ff527e3a4f040fab4c3 (patch) | |
tree | b3e14d16b5ebecf236c56cdece80d3e133d6c5f8 /tests/helpers/os_helper.rb | |
parent | e35fca3d367a6294123a0d9a2c077f4db7dfe809 (diff) |
[test] added tests that use postmap -q to verify that leap_mx is returning results
Diffstat (limited to 'tests/helpers/os_helper.rb')
-rw-r--r-- | tests/helpers/os_helper.rb | 2 |
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 |