cups: Fix printing tests

It seems like there's an upstream bug in the "lpstat" command. We need
to specify the server's port.

Further information: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711327

[root@client:~]# lpstat -H
/var/run/cups/cups.sock

[root@client:~]# lpstat -h server -H
/var/run/cups/cups.sock:631

[root@client:~]# CUPS_SERVER=server lpstat -H
server:631

[root@client:~]# lpstat -h server:631 -H
server:631

authored by

Jascha Geerds and committed by
Domen Kožar
55a6469b 3710dbec

+1 -1
+1 -1
nixos/tests/printing.nix
··· 48 49 # Do some status checks. 50 $client->succeed("lpstat -a") =~ /DeskjetRemote accepting requests/ or die; 51 - $client->succeed("lpstat -h server -a") =~ /DeskjetLocal accepting requests/ or die; 52 $client->succeed("cupsdisable DeskjetRemote"); 53 $client->succeed("lpq") =~ /DeskjetRemote is not ready.*no entries/s or die; 54 $client->succeed("cupsenable DeskjetRemote");
··· 48 49 # Do some status checks. 50 $client->succeed("lpstat -a") =~ /DeskjetRemote accepting requests/ or die; 51 + $client->succeed("lpstat -h server:631 -a") =~ /DeskjetLocal accepting requests/ or die; 52 $client->succeed("cupsdisable DeskjetRemote"); 53 $client->succeed("lpq") =~ /DeskjetRemote is not ready.*no entries/s or die; 54 $client->succeed("cupsenable DeskjetRemote");