From: Andre Noll Date: Sun, 20 Feb 2011 17:15:51 +0000 (+0100) Subject: Add t0003-writer-init-error-path.sh. X-Git-Tag: v0.4.6~10^2 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=87d7882d3bd2e0a0432a2f388050fbbbcfe9fa42;hp=87d7882d3bd2e0a0432a2f388050fbbbcfe9fa42;p=paraslash.git 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. ---