summaryrefslogtreecommitdiff
path: root/t/t3701-add-interactive.sh
diff options
context:
space:
mode:
authorLibravatar Lars Schneider <larsxschneider@gmail.com>2015-11-27 10:15:13 +0100
committerLibravatar Jeff King <peff@peff.net>2015-11-28 12:04:28 -0500
commitbbfe5302d50891233cef645b74324c01d8b004c8 (patch)
treeae2cb801a2170163d529e51f92a7ae707c152bb9 /t/t3701-add-interactive.sh
parentMerge branch 'master' of git://git.bogomips.org/git-svn (diff)
downloadtgif-bbfe5302d50891233cef645b74324c01d8b004c8.tar.xz
implement test_might_fail using a refactored test_must_fail
Add an (optional) first parameter "ok=<special case>" to test_must_fail and return success for "<special case>". Add "success" as "<special case>" and use it to implement "test_might_fail". This removes redundancies in test-lib-function.sh. You can pass multiple <special case> arguments divided by comma (e.g. "test_must_fail ok=success,something") Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Lars Schneider <larsxschneider@gmail.com> Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 't/t3701-add-interactive.sh')
0 files changed, 0 insertions, 0 deletions