From: Alan T. DeKok Date: Mon, 18 Apr 2022 21:24:25 +0000 (-0400) Subject: fix test. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff7ce80f28e204ec223faf69ae71ea53afe87485;p=thirdparty%2Ffreeradius-server.git fix test. When we encode something, the decoded version should NOT be "raw" unless something has gone seriously wrong. --- diff --git a/src/tests/unit/protocols/dhcpv4/rfc3495.txt b/src/tests/unit/protocols/dhcpv4/rfc3495.txt index 044f3da3651..f2e140eb784 100644 --- a/src/tests/unit/protocols/dhcpv4/rfc3495.txt +++ b/src/tests/unit/protocols/dhcpv4/rfc3495.txt @@ -9,7 +9,7 @@ encode-pair CCC = { Ticket-Granting-Server-Utilization = yes, Provisioning-Serve match 7a 1a 07 01 01 03 15 00 0d 07 65 78 61 6d 70 6c 65 03 63 6f 6d 00 01 04 c0 a8 00 01 decode-pair - -match CCC.Ticket-Granting-Server-Utilization = yes, raw.CCC.Provisioning-Server = 0x000d076578616d706c6503636f6d000104c0a80001 +match CCC.Ticket-Granting-Server-Utilization = yes, CCC.Provisioning-Server.FQDN = "example.com", CCC.Provisioning-Server.Address = 192.168.0.1 count match 7