diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-01 17:49:08 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-01 17:49:08 +0100 |
| commit | 2fe2e8cdbc3bb520994ff0944188f2fa657c546a (patch) | |
| tree | 10f29b4dd62c2b8127d20f0bffd4325b3ca0bfd2 /docs/TESTING.md | |
| parent | docs: add the phased GUI plan (diff) | |
| download | zagan-bet-2fe2e8cdbc3bb520994ff0944188f2fa657c546a.tar.gz zagan-bet-2fe2e8cdbc3bb520994ff0944188f2fa657c546a.zip | |
v4.0.0: require HELLO MAJOR.MINOR lockstep before auth
Diffstat (limited to '')
| -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 |
