3
0
Fork 0
forked from mirrors/nixpkgs

nixos/tests/wine: Init

This commit is contained in:
Scott Worley 2021-05-30 20:49:25 -07:00
parent 666075648e
commit aa845c3100

14
nixos/tests/wine.nix Normal file
View file

@ -0,0 +1,14 @@
import ./make-test-python.nix ({ pkgs, ... }: {
name = "wine";
meta = with pkgs.lib.maintainers; { maintainers = [ chkno ]; };
machine = { pkgs, ... }: { environment.systemPackages = [ pkgs.wine ]; };
testScript = ''
machine.wait_for_unit("multi-user.target")
greeting = machine.succeed(
'wine ${pkgs.pkgsCross.mingw32.hello}/bin/hello.exe'
)
assert 'Hello, world!' in greeting
'';
})