Exclude the TimeZone/Computer/FileCatalog cmdlets for Linux. They use windows specific Win32 APIs

This commit is contained in:
Dongbo Wang committed 2016-07-06 13:04:51 -07:00
1 parent 45791aa030
commit c502b31509
7 files changed
+30 -1

No files matched your search

@@ -14,6 +14,8 @@
[snippet] Both StandardName and DaylightName are localized according to the current user default UI language.
#>
if ($IsWindows) {
function Assert-ListsSame
{
param([object[]] $expected, [object[]] $observed )
@@ -116,3 +118,4 @@ Describe "Get-Timezone test cases" -tags 'Innerloop','RI' {
}
}
}
@@ -14,6 +14,8 @@
[snippet] Both StandardName and DaylightName are localized according to the current user default UI language.
#>
if ($IsWindows) {
function Assert-ListsSame
{
param([object[]] $expected, [object[]] $observed )
@@ -131,3 +133,5 @@ Describe "Set-Timezone test cases" -tags 'Innerloop','RI' {
$observed.Id -eq $origTimeZoneID | Should Be $true
}
}
}
@@ -3,6 +3,8 @@
# Copyright (c) Microsoft Corporation, 2016
#
if ($IsWindows) {
$script:catalogPath = ""
Describe "Test suite for NewFileCatalogAndTestFileCatalogCmdlets" -Tags "Innerloop","BVT" {
@@ -375,3 +377,5 @@ Describe "Test suite for NewFileCatalogAndTestFileCatalogCmdlets" -Tags "Innerlo
}
}
}
}