mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 06:20:10 +01:00
test: fix file description passing to cloud-setup mock service
The pass_fds file descriptor is *after* the dup2. Always 3.
This commit is contained in:
parent
2e8ff9f8a0
commit
63452e886f
1 changed files with 1 additions and 1 deletions
|
|
@ -2172,7 +2172,7 @@ class TestNmCloudSetup(TestNmClient):
|
|||
[sys.executable, service_path],
|
||||
stdin=subprocess.PIPE,
|
||||
env=env,
|
||||
pass_fds=(s.fileno(),),
|
||||
pass_fds=(3,),
|
||||
preexec_fn=pass_socket,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue