diff options
author | Robert Hensing <robert@roberthensing.nl> | 2021-11-05 01:43:22 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2021-11-05 02:41:26 +0100 |
commit | 739c51ae4ef9535b37672d7dc303bce432562922 (patch) | |
tree | 9da4fc54649597897f3c65c78991fab74ee0f87f /nixos/tests/mpv.nix | |
parent | 698fb089d8276ac6907ae3a13ee1933a59e12112 (diff) |
nixosTests: Redirect stdout to stderr when detaching
Avoids blocking on stdout.
Diffstat (limited to 'nixos/tests/mpv.nix')
-rw-r--r-- | nixos/tests/mpv.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/mpv.nix b/nixos/tests/mpv.nix index 9e44862cb1b45..a4803f3cb5b55 100644 --- a/nixos/tests/mpv.nix +++ b/nixos/tests/mpv.nix @@ -21,7 +21,7 @@ in }; testScript = '' - machine.execute("set -m; mpv --script-opts=webui-port=${port} --idle=yes &") + machine.execute("set -m; mpv --script-opts=webui-port=${port} --idle=yes >&2 &") machine.wait_for_open_port(${port}) assert "<title>simple-mpv-webui" in machine.succeed("curl -s localhost:${port}") ''; |