summaryrefslogtreecommitdiff
path: root/testprogs/blackbox/subunit.sh
AgeCommit message (Collapse)AuthorFilesLines
2008-05-21subunit.sh: Properly capture and pass on the command output.Andrew Kroeger1-2/+2
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)
2008-04-16Use library for subunit test functions.Jelmer Vernooij1-0/+67
(This used to be commit 690924dc7f43b69b9c4cfc1dd0c9c6e83d333518)