From 6307f306fd162cae12a39df3f291ecba2823fc58 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Fri, 22 Oct 2010 17:01:34 -0700 Subject: [PATCH] test: Add a new test_expect_equal_failure Which allows us to have a known-broken test that would otherwise use test_expect_equal. --- test/README | 7 +++++++ test/test-lib.sh | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/test/README b/test/README index 1a5b5167..ebaa3cfd 100644 --- a/test/README +++ b/test/README @@ -147,6 +147,13 @@ library for your script to use. will generate a failure and print the difference of the two strings. + test_expect_equal_failure + + This works similar to test_expect_equal (see above) but is used to + mark a test that demonstrates a known breakage, (that is, the + author of the test expectes "output" and "expected" to differ until + the breakage is fixed). See test_expect_failure for details. + test_debug