DescriptionReturn partial output when shell.run_and_get_output time limit is hit.
This patch fixes run_and_get_output() of the Linux shell abstraction so
that if the process times out and is forcefully terminated, any output
produced by it before termination is still returned to the caller,
aligning it with the Android shell abstraction.
We also grow simple tests for run_and_get_output(), using 'echo' and
'cat' instead of the real shell binary.
R=etiennej@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/fdfd6dfc9d529b63f46034e3197cd7932b869acf
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address Etienne's comments. #
Messages
Total messages: 6 (1 generated)
|