Skip to content

Commit

Permalink
Merge pull request #101538 from xfix/test-driver-bufsize
Browse files Browse the repository at this point in the history
test-driver.py: remove bufsize=1 from Popen calls
  • Loading branch information
tfc committed Oct 25, 2020
2 parents ce383a1 + 254d30d commit f4254fb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions nixos/lib/test-driver/test-driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ def create_vlan(vlan_nr: str) -> Tuple[str, str, "subprocess.Popen[bytes]", Any]
pty_master, pty_slave = pty.openpty()
vde_process = subprocess.Popen(
["vde_switch", "-s", vde_socket, "--dirmode", "0700"],
bufsize=1,
stdin=pty_slave,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
Expand Down Expand Up @@ -748,7 +747,6 @@ def create_socket(path: str) -> socket.socket:

self.process = subprocess.Popen(
self.script,
bufsize=1,
stdin=subprocess.DEVNULL,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
Expand Down

0 comments on commit f4254fb

Please sign in to comment.