diff options
author | Andrew Kroeger <andrew@sprocks.gotdns.com> | 2008-05-21 02:07:45 -0500 |
---|---|---|
committer | Andrew Kroeger <andrew@sprocks.gotdns.com> | 2008-05-21 20:46:14 -0500 |
commit | fe17acfa82079559f8c8b30ab32564418a3cc87e (patch) | |
tree | b742e18ad7474d572fc6b00ab26b0051378b927a /.gitignore | |
parent | d8459e3e1c87577768a2a250f701f14a64c22541 (diff) | |
download | samba-fe17acfa82079559f8c8b30ab32564418a3cc87e.tar.gz samba-fe17acfa82079559f8c8b30ab32564418a3cc87e.tar.bz2 samba-fe17acfa82079559f8c8b30ab32564418a3cc87e.zip |
subunit.sh: Properly capture and pass on the command output.
Previously, the output from $cmdline was never captured. In case of a
failure, there was no output being passed to the subunit_fail_test() function,
but that function contains a call to "cat -". This caused the script to hang
indefinitely waiting for input.
We now capture $cmdline output (including mapping stderr to stdout) using
backticks, and then pipe that output to the subunit_fail_test() if there is
a failure.
(This used to be commit c0234d13192c1871971b45121249395ef15c5ae5)
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions