mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 00:14:44 +01:00
Merge Fix inconsistent return length.
Correct issue discussed in !889. MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/890 Approved-by: Christian Boltz <apparmor@cboltz.de> Merged-by: Christian Boltz <apparmor@cboltz.de>
This commit is contained in:
commit
08da556e4e
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class AATestTemplate(unittest.TestCase, metaclass=AANoCleanupMetaClass):
|
|||
sp = subprocess.Popen(command, stdin=stdin, stdout=stdout, stderr=stderr,
|
||||
close_fds=True, preexec_fn=subprocess_setup, universal_newlines=True)
|
||||
except OSError as e:
|
||||
return 127, str(e)
|
||||
return 127, str(e), ''
|
||||
|
||||
timeout_communicate = TimeoutFunction(sp.communicate, timeout)
|
||||
out, outerr = (None, None)
|
||||
|
|
Loading…
Add table
Reference in a new issue