Merge pull request #1630 from al-cheb/al-cheb/install-interm-cert
[macOS] Apple Worldwide Developer Relations Intermediate Certificate Expiration
This commit is contained in:
@@ -12,6 +12,14 @@ Describe "Disk free space" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Certificate" {
|
||||
It "Apple Worldwide Developer Relations Certification Authority[expired: 2030-02] is installed" {
|
||||
$sha1Hash = "06EC06599F4ED0027CC58956B4D3AC1255114F35"
|
||||
$certs = security find-certificate -a -c Worldwide -p -Z | Out-String
|
||||
$certs | Should -Match $sha1Hash
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Git" {
|
||||
It "git is installed" {
|
||||
"git --version" | Should -ReturnZeroExitCode
|
||||
@@ -163,7 +171,7 @@ Describe "Common utilities" {
|
||||
It "PostgreSQL-Client" {
|
||||
"psql --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
|
||||
It "PostgreSQL-Server" {
|
||||
"pg_config --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
@@ -180,11 +188,11 @@ Describe "Common utilities" {
|
||||
Get-WhichTool "php" | Should -Not -BeLike "/usr/bin/php*"
|
||||
"php --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
|
||||
It "Composer" {
|
||||
"composer --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
|
||||
It "R" -Skip:($os.IsBigSur) {
|
||||
"R --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
@@ -200,7 +208,7 @@ Describe "Common utilities" {
|
||||
It "bazelisk" {
|
||||
"bazelisk version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
|
||||
It "Julia" {
|
||||
"julia --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
@@ -254,7 +262,7 @@ Describe "Browsers" {
|
||||
It "Microsoft Edge Driver" {
|
||||
"msedgedriver --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
|
||||
It "Firefox" {
|
||||
$firefoxLocation = "/Applications/Firefox.app/Contents/MacOS/firefox"
|
||||
$firefoxLocation | Should -Exist
|
||||
@@ -306,7 +314,7 @@ Describe "Haskell" -Skip:($os.IsHighSierra) {
|
||||
It "GHC" {
|
||||
"ghc --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
|
||||
It "Cabal" {
|
||||
"cabal --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
@@ -329,7 +337,7 @@ Describe "Gcc" -Skip:($os.IsHighSierra) {
|
||||
param (
|
||||
[string] $GccVersion
|
||||
)
|
||||
|
||||
|
||||
"gcc-$GccVersion --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user