Discussion:
How do we know if the output is correct?
(too old to reply)
Nicholas Hamilton
2005-05-10 02:54:15 UTC
Permalink
I was wondering how we are supposed to know if the output is correct or
not. For example, the following is the output of my ppstart.exe, but I
am not sure if it is correct or not.

Starting ping-pong tests...
Starting process 14 (PING)...
Starting process 15 (PONG)...
Process 15 sent PONG, awaiting PING, got 'PING'
Process 14 sent PING, awaiting PONG, got 'PONG'
Process 14 sent PING, awaiting PONG, got 'PONG'
Process 15 sent PONG, awaiting PING, got 'PING'
Process 15 sent PONG, awaiting PING, got 'PING'
Process 14 sent PING, awaiting PONG, got 'PONG'
Process 14 sent PING, awaiting PONG, got 'PONG'
Process 15 sent PONG, awaiting PING, got 'PING'
Process 15 sent PONG, awaiting PING, got 'PING'

Process 15 (PONG) is done !
Process 14 sent PING, awaiting PONG, got 'PONG'
Deleteing PING msgs
Deleteing PONG msgs

Process 14 (PING) is done !

Ping-pong tests completed.
Iulian Neamtiu
2005-05-10 13:24:25 UTC
Permalink
It's correct, see my post on 05/04.
Iulian
Post by Nicholas Hamilton
I was wondering how we are supposed to know if the output is correct or
not. For example, the following is the output of my ppstart.exe, but I
am not sure if it is correct or not.
Starting ping-pong tests...
Starting process 14 (PING)...
Starting process 15 (PONG)...
Process 15 sent PONG, awaiting PING, got 'PING'
Process 14 sent PING, awaiting PONG, got 'PONG'
Process 14 sent PING, awaiting PONG, got 'PONG'
Process 15 sent PONG, awaiting PING, got 'PING'
Process 15 sent PONG, awaiting PING, got 'PING'
Process 14 sent PING, awaiting PONG, got 'PONG'
Process 14 sent PING, awaiting PONG, got 'PONG'
Process 15 sent PONG, awaiting PING, got 'PING'
Process 15 sent PONG, awaiting PING, got 'PING'
Process 15 (PONG) is done !
Process 14 sent PING, awaiting PONG, got 'PONG'
Deleteing PING msgs
Deleteing PONG msgs
Process 14 (PING) is done !
Ping-pong tests completed.
Loading...