summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2018-02-23 18:47:43 +0300
committerNikolay Amiantov <ab@fmap.me>2018-02-23 18:47:43 +0300
commitcc52eff6c61d69441d4df0bbdac237346deac968 (patch)
treecfc6f161bd7b693c23b0467f2e8d95b031af804a /nixos/tests
parentdccf85a354dd3e65a9a6c2d630bdbd87fafa44ba (diff)
Revert "cups service: fix client sockets"
This reverts commit cf4c07734364e7e59414f486381360b42a9f88ea.
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/printing.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/tests/printing.nix b/nixos/tests/printing.nix
index 9890088306136..2d3ecaf94cfa3 100644
--- a/nixos/tests/printing.nix
+++ b/nixos/tests/printing.nix
@@ -39,9 +39,7 @@ import ./make-test.nix ({pkgs, ... }: {
       $client->waitForUnit("cups.service");
       $client->sleep(10); # wait until cups is fully initialized
       $client->succeed("lpstat -r") =~ /scheduler is running/ or die;
-      # Test that UNIX socket is used for connections.
-      $client->succeed("lpstat -H") =~ "/var/run/cups/cups.sock" or die;
-      # Test that HTTP server is available too.
+      $client->succeed("lpstat -H") =~ "localhost:631" or die;
       $client->succeed("curl --fail http://localhost:631/");
       $client->succeed("curl --fail http://server:631/");
       $server->fail("curl --fail --connect-timeout 2  http://client:631/");