Changeset 11160 in ntrip for trunk/BNC/tests
- Timestamp:
- Nov 4, 2026, 9:35:48 AM (3 days ago)
- File:
-
- 1 edited
-
trunk/BNC/tests/tools/cred_check.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/tests/tools/cred_check.py
r11153 r11160 12 12 $NETRC: entry 'machine host:port' preferred over 'machine host' 13 13 BNC format (credentialsFile): exact port preferred over '*', quoted password 14 BNC format without port: '<host> <user> <password>' 14 15 URL without user: no credentials sent although ~/.netrc has the host 15 16 user without entry: logged, rejected by the caster … … 148 149 check("download: BNC format, exact port, quoted", served(c) and not rejected(c), c) 149 150 151 c, log = download(bnc, "bnc_format_3", 21312, "bnc@", ["bnc:three"], 152 {"~/bnc.credentials": ("127.0.0.1 other x\n127.0.0.1 bnc three\n", 0o600)}, 153 extra=["-key", "credentialsFile", "~/bnc.credentials"]) 154 check("download: BNC format without port", served(c) and not rejected(c), c) 155 150 156 c, log = download(bnc, "anonymous", 21305, "", [], 151 157 {"~/.netrc": (netrc_two_users, 0o600)})
Note:
See TracChangeset
for help on using the changeset viewer.
