Skip Menu |

This queue is for tickets about the Expect CPAN distribution.

Report information
The Basics
Id: 20404
Status: resolved
Priority: 0/
Queue: Expect

People
Owner: Nobody in particular
Requestors: michael.d.schwarz [...] spiritaero.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 1.17
Fixed in: 1.18



Subject: make test fails if output is generated by shell startup.
Running make test will fail on the test for the controlling terminal (aborts test here) and then on the 2 exit status tests when ran as myself. The cause is that my .kshrc sends an initial string of characters when stdout is a tty to set the window heading - without a terminating NL. These 3 tests initially look for ^prompt: or ^pid: and fail with the stuff before it. This could be fixed in the test.pl by removing the initial ^ on these matches or having the corresponding command print an initial \n. The issue here is that the test run can fail even though Expect is ok. This is more of a FYI than anything else, do what you want with it. I'm only reporting it as I spent some time finding my problem. It can also happen with end user code also.
Thanks! Fixed in v1.18, out now. -- RGiersig@cpan.org