mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-15 06:19:21 +00:00
committed by
GitHub
parent
8a17c5ea71
commit
40f571a753
@@ -118,6 +118,7 @@ $toolsList = @(
|
|||||||
(Get-M4Version),
|
(Get-M4Version),
|
||||||
(Get-HGVersion),
|
(Get-HGVersion),
|
||||||
(Get-MinikubeVersion),
|
(Get-MinikubeVersion),
|
||||||
|
(Get-NetToolsVersion),
|
||||||
(Get-NewmanVersion),
|
(Get-NewmanVersion),
|
||||||
(Get-NvmVersion),
|
(Get-NvmVersion),
|
||||||
(Get-PackerVersion),
|
(Get-PackerVersion),
|
||||||
|
|||||||
@@ -174,6 +174,11 @@ function Get-MediainfoVersion {
|
|||||||
return "MediaInfo $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 {
|
function Get-NewmanVersion {
|
||||||
return "Newman $(newman --version)"
|
return "Newman $(newman --version)"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,6 +34,11 @@ Describe "Apt" {
|
|||||||
$toolName = "tr"
|
$toolName = "tr"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($toolName -eq "net-tools")
|
||||||
|
{
|
||||||
|
$toolName = "netstat"
|
||||||
|
}
|
||||||
|
|
||||||
(Get-Command -Name $toolName).CommandType | Should -BeExactly "Application"
|
(Get-Command -Name $toolName).CommandType | Should -BeExactly "Application"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -194,6 +194,7 @@
|
|||||||
"m4",
|
"m4",
|
||||||
"mediainfo",
|
"mediainfo",
|
||||||
"netcat",
|
"netcat",
|
||||||
|
"net-tools",
|
||||||
"p7zip-full",
|
"p7zip-full",
|
||||||
"parallel",
|
"parallel",
|
||||||
"pass",
|
"pass",
|
||||||
|
|||||||
@@ -188,6 +188,7 @@
|
|||||||
"m4",
|
"m4",
|
||||||
"mediainfo",
|
"mediainfo",
|
||||||
"netcat",
|
"netcat",
|
||||||
|
"net-tools",
|
||||||
"parallel",
|
"parallel",
|
||||||
"pass",
|
"pass",
|
||||||
"p7zip-full",
|
"p7zip-full",
|
||||||
|
|||||||
@@ -168,6 +168,7 @@
|
|||||||
"m4",
|
"m4",
|
||||||
"mediainfo",
|
"mediainfo",
|
||||||
"netcat",
|
"netcat",
|
||||||
|
"net-tools",
|
||||||
"p7zip-full",
|
"p7zip-full",
|
||||||
"parallel",
|
"parallel",
|
||||||
"pass",
|
"pass",
|
||||||
|
|||||||
Reference in New Issue
Block a user