|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.