aboutgitcodebugslistschat
path: root/test/lib/term
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-04-06 09:54:32 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-04-07 11:44:35 +0200
commit6e9464ff0ac288d5efff68d485129dc8ddac73d0 (patch)
treeebed5ae8b7c439f8702541f425d5622afc0cffc8 /test/lib/term
parenta20d2696306656b31cdccc8aece95367423c623b (diff)
downloadpasst-6e9464ff0ac288d5efff68d485129dc8ddac73d0.tar
passt-6e9464ff0ac288d5efff68d485129dc8ddac73d0.tar.gz
passt-6e9464ff0ac288d5efff68d485129dc8ddac73d0.tar.bz2
passt-6e9464ff0ac288d5efff68d485129dc8ddac73d0.tar.lz
passt-6e9464ff0ac288d5efff68d485129dc8ddac73d0.tar.xz
passt-6e9464ff0ac288d5efff68d485129dc8ddac73d0.tar.zst
passt-6e9464ff0ac288d5efff68d485129dc8ddac73d0.zip
test/lib: Add small delay before trying to parse output
Don't fetch the log too early, we might get output from previous commands. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib/term')
-rwxr-xr-xtest/lib/term1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/term b/test/lib/term
index c92d8bd..c9f5be3 100755
--- a/test/lib/term
+++ b/test/lib/term
@@ -203,6 +203,7 @@ pane_run() {
# $1: Pane name
pane_wait() {
__lc="$(echo "${1}" | tr [A-Z] [a-z])"
+ sleep 0.1 || sleep 1
__done=0
while