ssm-agent: add passthru.tests.version
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
, util-linux
|
||||
, bashInteractive
|
||||
, overrideEtc ? true
|
||||
, testers
|
||||
, ssm-agent
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -129,6 +131,11 @@ buildGoPackage rec {
|
||||
wrapProgram $out/bin/amazon-ssm-agent --prefix PATH : ${bashInteractive}/bin
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = ssm-agent;
|
||||
command = "amazon-ssm-agent --version";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Agent to enable remote management of your Amazon EC2 instance configuration";
|
||||
homepage = "https://github.com/aws/amazon-ssm-agent";
|
||||
|
||||
Reference in New Issue
Block a user