]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove SoH tests
authorAlan T. DeKok <aland@freeradius.org>
Thu, 8 Jun 2023 07:57:11 +0000 (09:57 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 8 Jun 2023 07:57:11 +0000 (09:57 +0200)
src/tests/keywords/radius.conf
src/tests/keywords/xlat-soh [deleted file]

index 5283b2f04b639bfceee8c6087349560b53efec2f..2ca0997a333e2a6a3a5de06012a8263d6c26fab8 100644 (file)
@@ -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 (file)
index eccc996..0000000
+++ /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