nixos/tests/hibernate: Fix netcat flags
I'm not sure why024b501907
used -q 0 because even netcat-openbsd has the -N flag which IMO is the better way to shutdown the socket on EOF. Our default netcat implementation has changed once again[1] in3c3b82234a
and we're now using LibreSSL's implementation, which doesn't have a -q flag. See https://github.com/NixOS/nixpkgs/pull/39634 for the pull request introducing the switch. [1]: https://github.com/NixOS/nixpkgs/pull/19982 Signed-off-by: aszlig <aszlig@nix.build> Cc: @matthewbauer, @dtzWill, @Mic92
This commit is contained in:
parent
ff3fe105f2
commit
146cb02542
|
@ -37,7 +37,7 @@ import ./make-test.nix (pkgs: {
|
|||
$machine->waitForShutdown;
|
||||
$machine->start;
|
||||
$probe->waitForUnit("network.target");
|
||||
$probe->waitUntilSucceeds("echo test | nc machine 4444 -q 0");
|
||||
$probe->waitUntilSucceeds("echo test | nc machine 4444 -N");
|
||||
'';
|
||||
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue