U2CR test-case:
test.sh
: test running P1 and P2 interleaved until the error is detected.p1.sh
: process P1 which creates problems.p2.sh
: process P2 which detect the problem.
Process 1 p1.sh
:
-
- Send a status request, like "\xff\x01\x03"
-
- Do not read the answer.