mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
nixos/tests/printing: Fix CUPS service name (#6767)
This commit is contained in:
parent
58b4f11242
commit
164dbfff80
@ -31,8 +31,8 @@ import ./make-test.nix ({pkgs, ... }: {
|
|||||||
startAll;
|
startAll;
|
||||||
|
|
||||||
# Make sure that cups is up on both sides.
|
# Make sure that cups is up on both sides.
|
||||||
$server->waitForUnit("cupsd.service");
|
$server->waitForUnit("cups.service");
|
||||||
$client->waitForUnit("cupsd.service");
|
$client->waitForUnit("cups.service");
|
||||||
$client->succeed("lpstat -r") =~ /scheduler is running/ or die;
|
$client->succeed("lpstat -r") =~ /scheduler is running/ or die;
|
||||||
$client->succeed("lpstat -H") =~ "/var/run/cups/cups.sock" or die;
|
$client->succeed("lpstat -H") =~ "/var/run/cups/cups.sock" or die;
|
||||||
$client->succeed("curl --fail http://localhost:631/");
|
$client->succeed("curl --fail http://localhost:631/");
|
||||||
|
Loading…
Reference in New Issue
Block a user