A gtest executable would not only be more complex (I have tried) but is also impossible right now without forking off the server process in the same way a shell script does. See bug 1546912.
Also, the sleep should not be replaced because it's a real-time delay you need to put the clients visually out of phase.
Incorrect...
A gtest executable would not only be more complex (I have tried) but is also impossible right now without forking off the server process in the same way a shell script does. See bug 1546912.
Also, the sleep should not be replaced because it's a real-time delay you need to put the clients visually out of phase.