diff options
Diffstat (limited to 'docs/TESTING.md')
| -rw-r--r-- | docs/TESTING.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/TESTING.md b/docs/TESTING.md index 1a1d369..23e3a19 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md | |||
| @@ -180,6 +180,18 @@ Use an 80-column terminal because several output lines are width-sensitive. | |||
| 180 | one row with `winnings = 0`, `details.result = "abandoned"` and | 180 | one row with `winnings = 0`, `details.result = "abandoned"` and |
| 181 | `details.reason = "server_restart"`. | 181 | `details.reason = "server_restart"`. |
| 182 | 182 | ||
| 183 | ## Manual version handshake check | ||
| 184 | |||
| 185 | 1. Connect a client and server from the same release: the client connects and | ||
| 186 | the server log shows the `HELLO` exchange. | ||
| 187 | 2. Connect a 4.x client to a 3.x server (or the reverse): the client must print | ||
| 188 | `Version mismatch: client ..., server ...` and never reach the login prompt. | ||
| 189 | 3. With a deliberately skew-built server (PATCH differs) the connection is | ||
| 190 | accepted and, when the server's version is newer, the client prints | ||
| 191 | `A newer version is available`. | ||
| 192 | 4. Before the handshake, `openssl s_client -quiet -connect host:port` followed | ||
| 193 | by `PING` must answer `ERROR HELLO required`. | ||
| 194 | |||
| 183 | ## Manual identity / credential checklist | 195 | ## Manual identity / credential checklist |
| 184 | 196 | ||
| 185 | 1. Connect through one address, `register` and `login`. `hosts` shows the | 197 | 1. Connect through one address, `register` and `login`. `hosts` shows the |
