]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Update tests to match echoed back Proxy-State
authorNick Porter <nick@portercomputing.co.uk>
Tue, 6 Jun 2023 10:11:30 +0000 (11:11 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 6 Jun 2023 10:11:30 +0000 (11:11 +0100)
The module accounting tests use Access-Request packets but call the
modules in accouning context.

Since Access-Request packets are used, the Proxy-State in the request is
reflected back in the Access-Accept

src/tests/modules/ldap/acct.attrs
src/tests/modules/sql/acct_0_start.attrs
src/tests/modules/sql/acct_1_update.attrs
src/tests/modules/sql/acct_2_stop.attrs
src/tests/modules/sql/acct_start_conflict.attrs
src/tests/modules/sql/acct_update_no_start.attrs

index 7e28deda0fd6ec5bfa25ddc05c38af35b4e23dfc..9965204587e02a0e6523dbd67b28da31002dbf69 100644 (file)
@@ -34,3 +34,4 @@ Proxy-State = 0x323531
 #  Expected answer
 #
 Packet-Type == Access-Accept
+Proxy-State == 0x323531
index badcde090f61e674d166a08bb3891a8b9a1c6ed7..d5114b0a9232df881b2726ec9fd8dc51e28e0594 100644 (file)
@@ -36,3 +36,4 @@ Proxy-State = 0x323531
 #  There's not an Accounting-Failed packet type in RADIUS...
 #
 Packet-Type == Access-Accept
+Proxy-State == 0x323531
index 2a6d41ec9adc3e48d88eeefb1246b65dd86c1b5a..d94eb20a1c7cb2e8406080ed87af38861528813c 100644 (file)
@@ -36,3 +36,4 @@ Proxy-State = 0x323531
 #  There's not an Accounting-Failed packet type in RADIUS...
 #
 Packet-Type == Access-Accept
+Proxy-State == 0x323531
index 12ee5d828f9a9337926d86b905e694b3c527c9e9..cc98d4ccbf5fab7ab88ecb1b9cb1c071a34f9f41 100644 (file)
@@ -37,3 +37,4 @@ Proxy-State = 0x323531
 #  There's not an Accounting-Failed packet type in RADIUS...
 #
 Packet-Type == Access-Accept
+Proxy-State == 0x323531
index 6bb69d2d4080e77c30bd430cd48444a56d8969f0..d7270a61dcc0c3a0fcdaea4f9adbacf806a05b39 100644 (file)
@@ -36,3 +36,4 @@ Proxy-State = 0x323531
 #  There's not an Accounting-Failed packet type in RADIUS...
 #
 Packet-Type == Access-Accept
+Proxy-State == 0x323531
index 0492cf11e680c083ea2c2de41919e3f9139607e3..f08ab789e68227b83c14fcd7d9dc10c2094d4808 100644 (file)
@@ -36,3 +36,4 @@ Proxy-State = 0x323531
 #  There's not an Accounting-Failed packet type in RADIUS...
 #
 Packet-Type == Access-Accept
+Proxy-State == 0x323531