forked from mirrors/nixpkgs
nixos/tests/wine: Init
This commit is contained in:
parent
666075648e
commit
aa845c3100
14
nixos/tests/wine.nix
Normal file
14
nixos/tests/wine.nix
Normal 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
|
||||
'';
|
||||
})
|
Loading…
Reference in a new issue