On Wed, 2007 Feb 28 20:36:08 -0500, Bob Rossi wrote:
>
> Daniel, after I applied your patch I configured pcre with out any
> special options. I ran 'make check' and got,
>
> --- testtry 2007-02-28 10:34:45.000000000 -0500
> +++ ./testdata/grepoutput 2007-02-28 10:34:04.000000000 -0500
> @@ -342,8 +342,8 @@
> ./testdata/grepinputx
> RC=0
> ---------------------------- Test 36 -----------------------------
> -./testdata/grepinput8
> ./testdata/grepinputx
> +./testdata/grepinput8
> RC=0
> ---------------------------- Test 37 -----------------------------
> aaaaa0
> FAIL: RunGrepTest
Could you look at the testdata/grepoutput file in your tree? The relevant
section should appear as
RC=0
---------------------------- Test 36 -----------------------------
./testdata/grepinput8
./testdata/grepinputx
RC=0
---------------------------- Test 37 -----------------------------
aaaaa0
It seems that your copy of the file has the "x" line before the "8" line,
which suggests that for some odd reason patch(1) didn't do what it was
supposed to.
The correct file should MD5-hash to 351258ebfe22d595d066ba468e186aa9.
> while [ $# -gt 0 ] ; do
> case $1 in
> - valgrind) valgrind="valgrind -q --leak-check=no";;
> + valgrind) valgrind="valgrind -q --leak-check=no";;
>
> Why did you change the above line?
As Craig correctly surmised, my editor stripped out the trailing
whitespace. Which should not have been there in the first place, and which
we don't want in the finalized sources....
Because the patch is already rather spammy, and it already intentionally
deals with whitespace in other places, I think you'd be better served by
diffing the original pcre-7.0 source with the patched copy using "diff
-bu", or perhaps even a graphical diff utility (Quick plug: tkdiff is very
nice for this).
As for the other changes, Craig pretty much took the words out of my mouth
:)
> Anyways, I figured something from above might have helped shed some
> light on why the test suite was failing. Did it pass for you?
Yep! In fact, it was failing for me before my changes, because of the
filesystem-order issue.
--Daniel
--
NAME = Daniel Richard G. ## Remember, skunks _\|/_ meef?
EMAIL1 = skunk@??? ## don't smell bad--- (/o|o\) /
EMAIL2 = skunk@??? ## it's the people who < (^),>
WWW = http://www.******.org/ ## annoy them that do! / \
--
(****** = site not yet online)