Commit d611d46
munet: fix desync after send/expect
spawn() within shell_spawn() already provides
a newline when no shell/login prompt is found.
Sending a second newline after the expected
prompt is detected results in a desync in the
console I/O. This is because the response
received from sending the newline is not
consumed.
Thus, any future instance after the desync
of cmd_nostatus() or cmd_status() after
shell_spawn() finishes either throws a
warning or fails. The instability due to
the desync can break following features that
rely on such functionality, such as the
mounting of shared volumes into the QEMU VM.
Signed-off-by: Liam Brady <lbrady@labn.net>1 parent c7da29d commit d611d46
2 files changed
+0
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
886 | 886 | | |
887 | 887 | | |
888 | 888 | | |
889 | | - | |
890 | 889 | | |
891 | 890 | | |
892 | 891 | | |
| |||
901 | 900 | | |
902 | 901 | | |
903 | 902 | | |
904 | | - | |
905 | | - | |
906 | 903 | | |
907 | 904 | | |
908 | 905 | | |
| |||
923 | 920 | | |
924 | 921 | | |
925 | 922 | | |
926 | | - | |
927 | | - | |
928 | 923 | | |
929 | 924 | | |
930 | 925 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2290 | 2290 | | |
2291 | 2291 | | |
2292 | 2292 | | |
2293 | | - | |
2294 | 2293 | | |
2295 | 2294 | | |
2296 | 2295 | | |
| |||
0 commit comments