[Ubuntu] Provide version info for binutils and coreutils packages (#2627)

* include binutils and coreutils to doc section

* fix bin to core

* replace split to Take-OutputPart
This commit is contained in:
Aleksandr Chebotov
2021-02-05 19:38:39 +03:00
committed by GitHub
parent b349624d7b
commit be109fcbc2
6 changed files with 30 additions and 0 deletions

View File

@@ -24,6 +24,16 @@ Describe "Apt" {
$toolName = "searchd"
}
if ($toolName -eq "binutils")
{
$toolName = "strings"
}
if ($toolName -eq "coreutils")
{
$toolName = "tr"
}
(Get-Command -Name $toolName).CommandType | Should -BeExactly "Application"
}
}