nixos/tests/printing: Fix CUPS service name (#6767)

This commit is contained in:
Jascha Geerds 2015-03-25 13:26:37 +01:00
parent 58b4f11242
commit 164dbfff80

View File

@ -31,8 +31,8 @@ import ./make-test.nix ({pkgs, ... }: {
startAll;
# Make sure that cups is up on both sides.
$server->waitForUnit("cupsd.service");
$client->waitForUnit("cupsd.service");
$server->waitForUnit("cups.service");
$client->waitForUnit("cups.service");
$client->succeed("lpstat -r") =~ /scheduler is running/ or die;
$client->succeed("lpstat -H") =~ "/var/run/cups/cups.sock" or die;
$client->succeed("curl --fail http://localhost:631/");