in reply to Expect can't assign a pseudo-tty
Run the test script in the debugger and set a break point line 159 of IO::File.
Looking at that file, it seems that the caller to IO::File->open() with an undefined value. Taking a guess, I'd think that the caller tries to look up the name of the next available pseudo TTY to use, fails, doesn't notice the failure, and then tries to open undef.
But by using the debugger you can determine what is the real problem and then rerun the test with a break point earlier (and in the caller) and probably figure out why.
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: Expect can't assign a pseudo-tty
by khippy (Scribe) on Jun 25, 2001 at 14:48 UTC | |
by tye (Sage) on Jun 25, 2001 at 17:27 UTC |