summary refs log tree commit diff
path: root/nixos/tests/minecraft.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-11-05 01:43:22 +0100
committerRobert Hensing <robert@roberthensing.nl>2021-11-05 02:41:26 +0100
commit739c51ae4ef9535b37672d7dc303bce432562922 (patch)
tree9da4fc54649597897f3c65c78991fab74ee0f87f /nixos/tests/minecraft.nix
parent698fb089d8276ac6907ae3a13ee1933a59e12112 (diff)
downloadnixpkgs-739c51ae4ef9535b37672d7dc303bce432562922.tar
nixpkgs-739c51ae4ef9535b37672d7dc303bce432562922.tar.gz
nixpkgs-739c51ae4ef9535b37672d7dc303bce432562922.tar.bz2
nixpkgs-739c51ae4ef9535b37672d7dc303bce432562922.tar.lz
nixpkgs-739c51ae4ef9535b37672d7dc303bce432562922.tar.xz
nixpkgs-739c51ae4ef9535b37672d7dc303bce432562922.tar.zst
nixpkgs-739c51ae4ef9535b37672d7dc303bce432562922.zip
nixosTests: Redirect stdout to stderr when detaching
Avoids blocking on stdout.
Diffstat (limited to 'nixos/tests/minecraft.nix')
-rw-r--r--nixos/tests/minecraft.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/minecraft.nix b/nixos/tests/minecraft.nix
index 3225ebac392..1c34f04b4df 100644
--- a/nixos/tests/minecraft.nix
+++ b/nixos/tests/minecraft.nix
@@ -20,7 +20,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
     let user = nodes.client.config.users.users.alice;
     in ''
       client.wait_for_x()
-      client.execute("su - alice -c minecraft-launcher &")
+      client.execute("su - alice -c minecraft-launcher >&2 &")
       client.wait_for_text("Create a new Microsoft account")
       client.sleep(10)
       client.screenshot("launcher")