jre_minimal: add 2 simple tests

This commit is contained in:
Arnout Engelen
2021-04-28 21:01:46 +02:00
parent 1fe6ed37fd
commit b21d1ae872
6 changed files with 147 additions and 0 deletions
@@ -0,0 +1,16 @@
{ runCommand
, callPackage
, jdk
, jre_minimal
}:
let
hello = callPackage ./hello.nix {
jdk = jdk;
jre = jre_minimal;
};
in
runCommand "test" {} ''
${hello}/bin/hello | grep "Hello, world!"
touch $out
''