From 617dbda8f47cf06d115947f0db282e1994294604 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Thu, 19 Dec 2024 10:10:17 -0800 Subject: [PATCH] Skip CIM ETS member test on older Windows platforms (#24681) --- test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1 b/test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1 index 86004f3fba..ce278d13b4 100644 --- a/test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1 +++ b/test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1 @@ -672,7 +672,7 @@ ConstructorTestClass(int i, bool b) $res.CompletionMatches[0].CompletionText | Should -BeExactly Cat } - It 'Should complete cim ETS member added by shortname' -Skip:(!$IsWindows) { + It 'Should complete cim ETS member added by shortname' -Skip:(!$IsWindows -or (Test-IsWinServer2012R2) -or (Test-IsWindows2016)) { $res = TabExpansion2 -inputScript '(Get-NetFirewallRule).Nam' $res.CompletionMatches[0].CompletionText | Should -BeExactly 'Name' }