Re: What's cooking in git.git (Oct 2010, #01; Wed, 13)
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Oct 14, 2010, 09:23 UTC
- Message-ID
- <AANLkTimr73DUBBwdj9MXOQQ=O-vmyyEZpgwdHmRsGG_-@mail.gmail.com>
- In-Reply-To
- <7v39s9fkk1.fsf@alter.siamese.dyndns.org>
On Thu, Oct 14, 2010 at 04:46, Junio C Hamano <gitster@pobox.com> wrote:
> - test-lib: make test_expect_code a test command > > Somewhat rerolled, but the largest one among the series was Nacked by a > few people and needs to be rerolled again.
Why did you amend this to use this sed trick:
+sed -e 's/Z$//' >expect <<\EOF &&
+not ok - 1 tests clean up even after a failure
+# Z
+# touch clean-after-failure &&
+# test_when_finished rm clean-after-failure &&
+# (exit 1)
+# Z
+not ok - 2 failure to clean up causes the test to fail
+# Z
+# test_when_finished \"(exit 2)\"
+# ZIs it just to keep it diff --check clean?
Anyway if we munge the output like this the output of test_cmp will be more confusing when it fails, because it'll be diff(1)-ing something that the test-lib would never emit.
> * ab/i18n (2010-09-12) 159 commits
Could you please pick up the 160 commit version of this at:
git://github.com/avar/git.git ab/i18n
It has the new "gettext.c: use libcharset.h instead of langinfo.h when available" patch by Erik Faye-Lund and me, which would be nice to have tested in pu.