mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
31f2d8ffbc
svn path=/nixos/trunk/; revision=19700
18 lines
307 B
Nix
18 lines
307 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
machine =
|
|
{ config, pkgs, ... }:
|
|
|
|
{ services.portmap.enable = true; };
|
|
|
|
testScript =
|
|
''
|
|
# The `portmap' service must be registered once for TCP and once for
|
|
# UDP.
|
|
$machine->mustSucceed("test `rpcinfo -p | grep portmapper | wc -l` -eq 2");
|
|
'';
|
|
|
|
}
|