]> git.tue.mpg.de Git - paraslash.git/commit
Add t0003-writer-init-error-path.sh.
authorAndre Noll <maan@systemlinux.org>
Sun, 20 Feb 2011 17:15:51 +0000 (18:15 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 28 Feb 2011 00:42:32 +0000 (01:42 +0100)
commit87d7882d3bd2e0a0432a2f388050fbbbcfe9fa42
tree669719f07bde6c650d68b0248039dbff5a337e6b
parentc7250fb279af132333266af36e19c156dd84eca1
Add t0003-writer-init-error-path.sh.

This catches the bugs recently found in the alsa and oss writers.

We need to test that certain commands fail but must distinguish between
failure due to non-zero exit codes and other failures, for example if
a command segfaults. Therefore this patch adds test_expect_failure()
to test-lib.sh which can be called by the individual tests and DTRT.
t/t0003-writer-init-error-path.sh [new file with mode: 0755]
t/test-lib.sh