diff options
author | Florian Jacob <projects+git@florianjacob.de> | 2019-02-10 12:48:32 +0100 |
---|---|---|
committer | Florian Jacob <projects+git@florianjacob.de> | 2019-02-14 20:43:26 +0100 |
commit | 33b3272692868d9a746f4f703c1d917fb7b9adb6 (patch) | |
tree | 3e9427b6e0fad7bbb7adde922ecdebc47474d94e /nixos/tests/printing.nix | |
parent | 482c0440acba8ba5652f32f26beab168e362c212 (diff) |
nixos/cups: Fix Unable to encrypt connection:
Unable to create server credentials by creating /var/lib/cups/ssl directory.
Diffstat (limited to 'nixos/tests/printing.nix')
-rw-r--r-- | nixos/tests/printing.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/printing.nix b/nixos/tests/printing.nix index d85abf3c105cc..7026637ead115 100644 --- a/nixos/tests/printing.nix +++ b/nixos/tests/printing.nix @@ -39,6 +39,8 @@ 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; + # check local encrypted connections work without error + $client->succeed("lpstat -E -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. |