mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
podman: add version test for all platforms
This commit is contained in:
parent
02f9255044
commit
5ecc72cb5b
|
@ -128,6 +128,11 @@ buildGoModule rec {
|
|||
'';
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion {
|
||||
package = podman;
|
||||
command = "HOME=$TMPDIR podman --version";
|
||||
};
|
||||
} // lib.optionalAttrs stdenv.isLinux {
|
||||
inherit (nixosTests) podman;
|
||||
# related modules
|
||||
inherit (nixosTests)
|
||||
|
|
Loading…
Reference in a new issue