Skip directory creation at root test on macOS (#11878)

This commit is contained in:
Aditya Patwardhan 2020-02-18 14:11:22 -08:00 committed by GitHub
parent 8522038cd8
commit 5edff316c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1462,7 +1462,7 @@ Describe "Verify sub-directory creation under root" -Tag 'CI','RequireSudoOnUnix
}
}
It "Can create a sub directory under root path" {
It "Can create a sub directory under root path" -Skip:$IsMacOs {
New-Item -Path $dirPath -ItemType Directory -Force > $null
$dirPath | Should -Exist
}