expect patch testing

Jeremy Huntwork jhuntwork at linuxfromscratch.org
Wed Nov 1 06:50:36 PST 2006


Hello,

Was taking a peek at this ticket:
http://wiki.linuxfromscratch.org/lfs/ticket/1625

I thought I'd test out current expect/tcl to see if I couldn't tickle 
the bug. On a finished system, I mimicked the chapter 5 tcl/expect 
installation to a temporary location, something like /test/bin. Then I 
tried the test case from this link:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=43310

I couldn't get the bug to show. Expect worked as it was supposed to.

So, I thought I'd try a bit more of an extended test. The LFS book says 
about the expect patch, "First, fix a bug that can result in false 
failures during the GCC test suite run". I figured that I'd run two 
different builds up to the final installation of gcc, one with and one 
without the expect patch, then I'd compare the test-suite logs and see 
if there was any difference. I've attached diffs of the test-suite logs 
from glibc, binutils and gcc (it doesn't seem that glibc makes use of 
expect, but I included it anyway) and there doesn't seem to be anything 
noteworthy in them. In fact, the only difference seems to be 
run-specific variables, like timestamps.

Interestingly, however, I tried HJL's testcase again on each of the 
produced expects, and this time, the unpatched expect within the chroot 
environment *did* show the bug he mentioned, while the patched expect 
did not.

So, I'm not sure where this leaves us. The bug does still seem to exist 
in expect, but, at least currently, the test-suites that make use of 
expect seem unaffected by the inclusion or absence of the patch.

--
JH
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: binutils-tests.diff
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20061101/7736ebbc/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-tests.diff
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20061101/7736ebbc/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: glibc-tests.diff
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20061101/7736ebbc/attachment-0002.ksh>


More information about the lfs-dev mailing list