[Ubuntu] Remove Ubuntu16 related code from the VE repository (#4336)

This commit is contained in:
Dibir Magomedsaygitov
2021-10-26 15:30:59 +03:00
committed by GitHub
parent 1f97f5de37
commit 2d46e3f4d9
25 changed files with 43 additions and 1174 deletions

View File

@@ -49,6 +49,11 @@ Describe "Apt" {
$toolName = "netstat"
}
if ($toolName -eq "mercurial")
{
$toolName = "hg"
}
(Get-Command -Name $toolName).CommandType | Should -BeExactly "Application"
}
}

View File

@@ -1,4 +1,4 @@
Describe "PHP" -Skip:(Test-IsUbuntu16) {
Describe "PHP" {
[array]$testCases = (Get-ToolsetContent).php.versions | ForEach-Object { @{phpVersion = $_} }
@@ -39,7 +39,7 @@ Describe "Swift" {
}
}
Describe "PipxPackages" -Skip:(Test-IsUbuntu16) {
Describe "PipxPackages" {
[array]$testCases = (Get-ToolsetContent).pipx | ForEach-Object { @{package=$_.package; cmd = $_.cmd} }
It "<package>" -TestCases $testCases {

View File

@@ -8,7 +8,7 @@ Describe "azcopy" {
}
}
Describe "Bicep" -Skip:(Test-IsUbuntu16) {
Describe "Bicep" {
It "Bicep" {
"bicep --version" | Should -ReturnZeroExitCode
}
@@ -289,12 +289,6 @@ Describe "Leiningen" {
}
}
Describe "Mercurial" {
It "mercurial" {
"hg --version" | Should -ReturnZeroExitCode
}
}
Describe "Conda" {
It "conda" {
"conda --version" | Should -ReturnZeroExitCode
@@ -329,7 +323,7 @@ Describe "GraalVM" -Skip:(-not (Test-IsUbuntu20)) {
}
}
Describe "Containers" -Skip:(Test-IsUbuntu16) {
Describe "Containers" {
$testCases = @("podman", "buildah", "skopeo") | ForEach-Object { @{ContainerCommand = $_} }
It "<ContainerCommand>" -TestCases $testCases {