We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 306a211 commit cd7a047Copy full SHA for cd7a047
bash_unit
@@ -31,8 +31,8 @@ fail() {
31
local stderr=$3
32
33
notify_test_failed $__bash_unit_current_test__ "$message"
34
- [[ ! -z $stdout ]] && [ -s $stdout ] && cat $stdout | notify_stdout
35
- [[ ! -z $stderr ]] && [ -s $stderr ] && cat $stderr | notify_stderr
+ [[ ! -z $stdout ]] && [ -s $stdout ] && notify_stdout < $stdout
+ [[ ! -z $stderr ]] && [ -s $stderr ] && notify_stderr < $stderr
36
37
stacktrace | notify_stack
38
exit 1
0 commit comments