From 22286f450bef6a28a08f5ff527e3a4f040fab4c3 Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 16 May 2016 15:26:55 -0700 Subject: [test] added tests that use postmap -q to verify that leap_mx is returning results --- tests/helpers/os_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/helpers') 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 -- cgit v1.2.3