2010-01-27 00:55:22 +01:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
machine =
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{ services.portmap.enable = true; };
|
|
|
|
|
|
|
|
testScript =
|
|
|
|
''
|
|
|
|
# The `portmap' service must be registered once for TCP and once for
|
|
|
|
# UDP.
|
2012-10-24 18:22:53 +02:00
|
|
|
$machine->succeed("test `rpcinfo -p | grep portmapper | wc -l` -eq 2");
|
2010-01-27 00:55:22 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
}
|