mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[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:
committed by
GitHub
parent
b349624d7b
commit
be109fcbc2
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user