about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nixos/tests/printing.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/printing.nix b/nixos/tests/printing.nix
index 3e5ee680c7a6..ba10f23582d7 100644
--- a/nixos/tests/printing.nix
+++ b/nixos/tests/printing.nix
@@ -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/");