From: Alan T. DeKok Date: Thu, 8 Jun 2023 07:57:11 +0000 (+0200) Subject: remove SoH tests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d98f829aa5a1861cdcafc4cd3a2a52425228d028;p=thirdparty%2Ffreeradius-server.git remove SoH tests --- diff --git a/src/tests/keywords/radius.conf b/src/tests/keywords/radius.conf index 5283b2f04b6..2ca0997a333 100644 --- a/src/tests/keywords/radius.conf +++ b/src/tests/keywords/radius.conf @@ -33,10 +33,6 @@ modules { } - soh { - - } - date { format = "%a %d %b %H:%M:%S %Z %Y" utc = yes diff --git a/src/tests/keywords/xlat-soh b/src/tests/keywords/xlat-soh deleted file mode 100644 index eccc99638e5..00000000000 --- a/src/tests/keywords/xlat-soh +++ /dev/null @@ -1,63 +0,0 @@ -# -# PRE: update -# - -&Tmp-String-0 := %(soh:OS) - -# SoH-Supported not set - should be no response -if (&Tmp-String-0) { - test_fail -} - -# -# @todo - move these into TLVs / structs / their own protocol? -# -&request += { - &SoH-Supported = yes - &SoH-MS-Machine-OS-release = 0 - &SoH-MS-Machine-OS-build = 6001 - &SoH-MS-Machine-SP-version = 1 - &SoH-MS-Machine-SP-release = 0 -} - -&Tmp-String-0 := %(soh:OS) -# SoH-MS-Machine-OS-vendor not set - should be no response -if (&Tmp-String-0) { - test_fail -} - -&SoH-Supported := yes -&SoH-MS-Machine-OS-vendor := Microsoft -&Tmp-String-0 := %(soh:OS) - -# OS version not set -if (!(&Tmp-String-0 == "Windows unknown")) { - test_fail -} - -&SoH-MS-Machine-OS-version := 6 -&Tmp-String-0 := %(soh:OS) - -# Complete set of data should match a real version of Windows -if !(&Tmp-String-0 == "Windows Vista / Server 2008 6.0.6001 sp 1.0" ) { - test_fail -} - -&SoH-MS-Machine-OS-release := 5 -&Tmp-String-0 := %(soh:OS) - -# Version and Release combination that does not exist -if (!(&Tmp-String-0 == "Windows Other 6.5.6001 sp 1.0")) { - test_fail -} - -&SoH-MS-Machine-OS-version := 8 -&SoH-MS-Machine-OS-release := 0 -&Tmp-String-0 := %(soh:OS) - -# Version that does not exist -if (!(&Tmp-String-0 == "Windows Other 8.0.6001 sp 1.0")) { - test_fail -} - -success