mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-14 22:09:26 +00:00
committed by
GitHub
parent
8a17c5ea71
commit
40f571a753
@@ -118,6 +118,7 @@ $toolsList = @(
|
||||
(Get-M4Version),
|
||||
(Get-HGVersion),
|
||||
(Get-MinikubeVersion),
|
||||
(Get-NetToolsVersion),
|
||||
(Get-NewmanVersion),
|
||||
(Get-NvmVersion),
|
||||
(Get-PackerVersion),
|
||||
|
||||
@@ -174,6 +174,11 @@ function Get-MediainfoVersion {
|
||||
return "MediaInfo $mediainfoVersion"
|
||||
}
|
||||
|
||||
function Get-NetToolsVersion {
|
||||
$netToolsVersion = dpkg-query --showformat='${Version}' --show net-tools | Take-OutputPart -Part 0 -Delimiter '-' | Take-OutputPart -Part 0 -Delimiter '+'
|
||||
return "net-tools $netToolsVersion"
|
||||
}
|
||||
|
||||
function Get-NewmanVersion {
|
||||
return "Newman $(newman --version)"
|
||||
}
|
||||
|
||||
@@ -34,6 +34,11 @@ Describe "Apt" {
|
||||
$toolName = "tr"
|
||||
}
|
||||
|
||||
if ($toolName -eq "net-tools")
|
||||
{
|
||||
$toolName = "netstat"
|
||||
}
|
||||
|
||||
(Get-Command -Name $toolName).CommandType | Should -BeExactly "Application"
|
||||
}
|
||||
}
|
||||
@@ -194,6 +194,7 @@
|
||||
"m4",
|
||||
"mediainfo",
|
||||
"netcat",
|
||||
"net-tools",
|
||||
"p7zip-full",
|
||||
"parallel",
|
||||
"pass",
|
||||
|
||||
@@ -188,6 +188,7 @@
|
||||
"m4",
|
||||
"mediainfo",
|
||||
"netcat",
|
||||
"net-tools",
|
||||
"parallel",
|
||||
"pass",
|
||||
"p7zip-full",
|
||||
|
||||
@@ -168,6 +168,7 @@
|
||||
"m4",
|
||||
"mediainfo",
|
||||
"netcat",
|
||||
"net-tools",
|
||||
"p7zip-full",
|
||||
"parallel",
|
||||
"pass",
|
||||
|
||||
Reference in New Issue
Block a user