summary refs log tree commit diff
path: root/nixos/lib/test-driver/test-driver.py
diff options
context:
space:
mode:
authorJacek Galowicz <jacek@galowicz.de>2019-11-06 21:48:08 +0100
committerJacek Galowicz <jacek@galowicz.de>2019-11-06 21:48:08 +0100
commitcf138b4e6b7a7ba2ea7d27310b5a564b91804c68 (patch)
tree832b9fc3eeb1fc26da3189a4a332887f91e17e35 /nixos/lib/test-driver/test-driver.py
parent2e52f98ddbe9ddd91f65f8df471d84e1e4077bdf (diff)
downloadnixpkgs-cf138b4e6b7a7ba2ea7d27310b5a564b91804c68.tar
nixpkgs-cf138b4e6b7a7ba2ea7d27310b5a564b91804c68.tar.gz
nixpkgs-cf138b4e6b7a7ba2ea7d27310b5a564b91804c68.tar.bz2
nixpkgs-cf138b4e6b7a7ba2ea7d27310b5a564b91804c68.tar.lz
nixpkgs-cf138b4e6b7a7ba2ea7d27310b5a564b91804c68.tar.xz
nixpkgs-cf138b4e6b7a7ba2ea7d27310b5a564b91804c68.tar.zst
nixpkgs-cf138b4e6b7a7ba2ea7d27310b5a564b91804c68.zip
nixos/tests: Fix subprocess launch call for VM monitor
This crashed in the create-script case
Diffstat (limited to 'nixos/lib/test-driver/test-driver.py')
-rw-r--r--nixos/lib/test-driver/test-driver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/lib/test-driver/test-driver.py b/nixos/lib/test-driver/test-driver.py
index c6baf75003a..28065cd60a9 100644
--- a/nixos/lib/test-driver/test-driver.py
+++ b/nixos/lib/test-driver/test-driver.py
@@ -588,7 +588,7 @@ class Machine:
             stdin=subprocess.DEVNULL,
             stdout=subprocess.PIPE,
             stderr=subprocess.STDOUT,
-            shell=False,
+            shell=True,
             cwd=self.state_dir,
             env=environment,
         )