dreadpiratepeter has asked for the wisdom of the Perl Monks concerning the following question:
and so on. Then my test script can open a tail on the output and run tests like:SERVER: started SERVER: accepting connections CLIENT1: send connect SERVER: accepted connection from client1 SERVER: send waiting for next connection to client1 CLIENT1: received waiting for next ocnnection CLIENT1: entering wait state CLIENT2: send connect
is(<INPUT>,"CLIENT1: entering wait state\n","client1 waiting");
Edit by tye, change unclosed PRE tags to CODE
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Testing a Client-Server Application
by Steve_p (Priest) on May 05, 2004 at 16:20 UTC | |
|
Re: Testing a Client-Server Application
by paulbort (Hermit) on May 05, 2004 at 19:33 UTC | |
|
Re: Testing a Client-Server Application
by adrianh (Chancellor) on May 06, 2004 at 01:23 UTC | |
|
Re: Testing a Client-Server Application
by etcshadow (Priest) on May 06, 2004 at 04:34 UTC |