Changeset 11160 in ntrip for trunk/BNC/tests


Ignore:
Timestamp:
Nov 4, 2026, 9:35:48 AM (3 days ago)
Author:
stuerze
Message:

screenshots are updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/tests/tools/cred_check.py

    r11153 r11160  
    1212  $NETRC: entry 'machine host:port' preferred over 'machine host'
    1313  BNC format (credentialsFile): exact port preferred over '*', quoted password
     14  BNC format without port: '<host> <user> <password>'
    1415  URL without user: no credentials sent although ~/.netrc has the host
    1516  user without entry: logged, rejected by the caster
    … …  
    148149    check("download: BNC format, exact port, quoted", served(c) and not rejected(c), c)
    149150
     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
    150156    c, log = download(bnc, "anonymous", 21305, "", [],
    151157                      {"~/.netrc": (netrc_two_users, 0o600)})
Note: See TracChangeset for help on using the changeset viewer.