Skip to content
Permalink
Browse files

helps to have RADIUS tests which mirror data_types.txt

  • Loading branch information
alandekok committed Aug 20, 2019
1 parent f94daa0 commit e4b7312f49c6e74e734b04cc7c4047582ee7f0f7
Showing with 10 additions and 0 deletions.
  1. +10 −0 src/tests/unit/radius_unit.txt
@@ -51,3 +51,13 @@ data f5 0d 1a 00 00 00 2c 50 01 00 00 00 01 f5 0d 1a 00 00 00 2c 50 01 00 00 00

decode-pair -
data Unit-EVS-5-Integer = 1, Unit-EVS-5-Integer = 2

encode-pair Event-Timestamp := 864000
data 37 06 00 0d 2f 00

# Same as from "data_types.txt"
decode-pair -
data Event-Timestamp = "Jan 11 1970 00:00:00 GMT"

encode-pair -
data 37 06 00 0d 2f 00

0 comments on commit e4b7312

Please sign in to comment.
You can’t perform that action at this time.