From: Brian Gernhardt Date: Sat, 18 Aug 2012 06:03:26 GMT Subject: Test failures in t4034 Message-ID: <80B6C6EE-130C-48C3-BBBB-5FCD1E7EFDEF@gernhardtsoftware.com> I've been getting a couple of test failures and finally had the time to track them down. t4034-diff-words fails tests "22 diff driver 'bibtex'" and "26 diff driver 'html'". Bisecting shows that the file started giving me errors in commit 8d96e72 "t4034: bulk verify builtin word regex sanity", which appears to introduce those tests. I don't see anything obviously wrong with the tests and I'm not familiar with the diff-words code, so I'm not sure what's wrong. I am running on OS X 10.8, with Xcode 4.4.1 (llvm-gcc 4.2.1). Test results follow: ---------- 8< ---------- expecting success: cp "$TEST_DIRECTORY/t4034/bibtex/pre" \ "$TEST_DIRECTORY/t4034/bibtex/post" \ "$TEST_DIRECTORY/t4034/bibtex/expect" . && echo "* diff=bibtex" >.gitattributes && word_diff --color-words --- expect 2012-08-18 05:54:29.000000000 +0000 +++ output.decrypted 2012-08-18 05:54:29.000000000 +0000 @@ -8,8 +8,8 @@ author={Aldous, D.David}, journal={Information Theory, IEEE Transactions on}, volume={33Bogus.}, - number={24}, + number={4}, pages={219--223}, - year=1987, - note={This is in fact a rather funny read since ethernet works well in practice. The {1987\em pre} reference is the right one, however.}, + year={1987},1987, + note={This is in fact a rather funny read since ethernet works well in practice. The {\em pre} reference is the right one, however.} } not ok - 22 diff driver 'bibtex' ---------- 8< ---------- expecting success: cp "$TEST_DIRECTORY/t4034/html/pre" \ "$TEST_DIRECTORY/t4034/html/post" \ "$TEST_DIRECTORY/t4034/html/expect" . && echo "* diff=html" >.gitattributes && word_diff --color-words --- expect 2012-08-18 05:54:29.000000000 +0000 +++ output.decrypted 2012-08-18 05:54:29.000000000 +0000 @@ -4,5 +4,5 @@ +++ b/post @@ -1,3 +1,3 @@ newattr="newvalue">added content -"value""newvalue">contentchanged -<tagnewtag>content &entity;&newentity;</tag/newtag> +changed +content &newentity; not ok - 26 diff driver 'html'