Changeset 11127 in ntrip for trunk/BNC/tests/README.md
- Timestamp:
- Oct 24, 2026, 11:15:22 PM (6 days ago)
- File:
-
- 1 edited
-
trunk/BNC/tests/README.md (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/tests/README.md
r11124 r11127 26 26 | `cases/<name>/expected/*.gz` | normalised reference outputs | 27 27 | `data/*.raw` | short raw captures (BNC `rawOutFile` format) replayed via `--file` | 28 | `tools/fakecaster.py` | local Ntrip caster recording an upload as a BNC raw file (case key `fakecaster`) | 29 | `tools/bncraw.py` | `info` (streams, time span, RTCM3 message types) and`slice` for raw captures |28 | `tools/fakecaster.py` | local Ntrip caster recording an upload as a BNC raw file (case key `fakecaster`); optionally TLS and serving a stream | 29 | `tools/bncraw.py` | `info` (streams, time span, RTCM3 message types), `slice` and `crs` (decode 1300/1301/1302) for raw captures | 30 30 | `tools/mkcrafted.py` | writes `data/crafted_limits.raw`: crafted frames at the upper field limits | 31 31 | `tools/ssr_harness.sh` | builds `tools/ssr_harness.cpp` with the SSR decoders under ASan/UBSan and runs it | 32 | `tools/ssl_check.py` | TLS checks of the Ntrip 2s client and upload (not part of `run_tests.py`) | 32 33 | `work/` | scratch output, not versioned | 33 34 … … 75 76 (`tools/fakecaster.py`, Ntrip 1/2, chunked), and a `post` step decodes the 76 77 received stream again: `upload_rtnet` (IGS-SSR encoding, SP3/CLK/BIA files, 77 decoded `.ssr`), `upload_eph` (RTCM3 ephemerides to RINEX nav) and 78 decoded `.ssr`, CRS messages 1300/1302 decoded by `bncraw.py crs` in a 79 `tool` post step), `upload_eph` (RTCM3 ephemerides to RINEX nav) and 78 80 `upload_raw` (raw forwarding to RINEX nav). `upload_rtnet_rtcm` encodes the same input to RTCM-SSR 79 81 (message numbers 1057-1068, 1240-1270) and decodes it again. … … 114 116 `crafted_limits.raw`: 7 entries with additional parameters of 40 and 0 bits, 115 117 and 31 entries, which must be rejected), which `RTCM3Decoder.cpp` does not 116 dispatch at present. Exit code 0 only without sanitizer errors. 118 dispatch at present. Every decoded VTEC and metadata message is encoded 119 again with the `Make*` function of the same class and decoded once more; the 120 result must be identical. Exit code 0 only without sanitizer errors and 121 differences. 122 123 ## TLS check 124 125 ``` 126 tests/tools/ssl_check.py [--bnc PATH] 127 ``` 128 129 Runs BNC against `tools/fakecaster.py` with TLS on port 443 (BNC uploads with 130 Ntrip 2s always to 443) inside an unprivileged user and network namespace 131 (`unshare -rn`), with a test CA, server and client certificates created by 132 openssl in `work/ssl_check/`. Checks for upload and download: certificate of 133 an unknown CA rejected, accepted with the CA in `sslCaCertPath`, accepted with 134 `sslIgnoreErrors` and the ignored errors logged; for upload also a 135 certificate for another host name (rejected) and a client certificate 136 required by the caster, with and without `sslIgnoreErrors`. Takes about 3 min. 117 137 118 138 ## Adding a replay case
Note:
See TracChangeset
for help on using the changeset viewer.
