add unit test to expose RealtimeLines not timing out
Signed-off-by: Lars Wirzenius liw@liw.fi
fix: make RealtimeLines::line honor the max duration setting
Signed-off-by: Lars Wirzenius liw@liw.fi
1 file changed
+27
-6
96c3b533
→
ac9261bb
modified src/timeoutcmd.rs
@@ -100,7 +100,7 @@ impl TimeoutCommand {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -357,15 +357,25 @@ impl ChildProcess {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -409,10 +419,8 @@ impl RealtimeLines {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -428,6 +436,11 @@ impl RealtimeLines {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -664,6 +677,14 @@ mod tests {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|