summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2020-06-10 09:26:32 +1000
committerMaxime Coste <mawww@kakoune.org>2020-06-10 09:26:32 +1000
commit74e3e5efd3a8d2109afd4c099ecd6f2cd3079188 (patch)
treed095cafd24a4da71e9a9877eaf1e29474455d131 /test
parent2544f97c892b350fd74dca713dec2729991def0d (diff)
Drain ui-out to avoid deadlock with small pipe buffers
Diffstat (limited to 'test')
-rwxr-xr-xtest/run1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/run b/test/run
index 209376a7..3fa67c2a 100755
--- a/test/run
+++ b/test/run
@@ -68,6 +68,7 @@ main() {
fi
finished_commands |$root/../src/kak -p "$session" 2>/dev/null
+ cat <&4 >/dev/null
wait $kakpid
retval=$?