diff options
author | sternenseemann <git@lukasepple.de> | 2016-10-30 02:52:47 +0200 |
---|---|---|
committer | sternenseemann <git@lukasepple.de> | 2016-10-30 15:06:04 +0100 |
commit | e2372502d3d0503711ea792a74292373286e5c8f (patch) | |
tree | f213e1c0c10b379562acd31f7726667f5ed4114b /nixos/tests/hibernate.nix | |
parent | 750af04badf015dfd1d9b2ec181e959b49927a42 (diff) |
netcat: make netcat-openbsd the default netcat (#19411)
The motivation for this change is the following: As gnu-netcat, e. g. does not support ipv6, it is not suitable as default netcat. This commit also fixes all obvious build issues caused by this change.
Diffstat (limited to 'nixos/tests/hibernate.nix')
-rw-r--r-- | nixos/tests/hibernate.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/hibernate.nix b/nixos/tests/hibernate.nix index 787929f8904df..7616a75b0214c 100644 --- a/nixos/tests/hibernate.nix +++ b/nixos/tests/hibernate.nix @@ -13,7 +13,7 @@ import ./make-test.nix (pkgs: { networking.firewall.allowedTCPPorts = [ 4444 ]; - systemd.services.listener.serviceConfig.ExecStart = "${pkgs.netcat}/bin/nc -l -p 4444"; + systemd.services.listener.serviceConfig.ExecStart = "${pkgs.netcat}/bin/nc -l 4444"; }; probe = { config, lib, pkgs, ...}: { @@ -36,7 +36,7 @@ import ./make-test.nix (pkgs: { $machine->waitForShutdown; $machine->start; $probe->waitForUnit("network.target"); - $probe->waitUntilSucceeds("echo test | nc -c machine 4444"); + $probe->waitUntilSucceeds("echo test | nc machine 4444"); ''; }) |