mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
automation: hide timeout countdown in log
grep+sleep message every 1s makes job log unnecessary hard to read. Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> Acked-by: Stefano Stabellini <sstabellini@kernel.org> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com> Release-acked-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
1 parent
dfe5bfc3d5
commit
052813b1d2
1 file changed
+4
@@ -30,9 +30,11 @@ done
|
||||
echo \"${passed}\"
|
||||
"
|
||||
dom0_check="
|
||||
set +x
|
||||
until grep -q \"${passed}\" /var/log/xen/console/guest-domU.log; do
|
||||
sleep 1
|
||||
done
|
||||
set -x
|
||||
echo \"${passed}\"
|
||||
"
|
||||
if [ "${test_variant}" = "dom0pvh" ]; then
|
||||
@@ -222,10 +224,12 @@ if [ -n "$wait_and_wakeup" ]; then
|
||||
ssh $CONTROLLER wake
|
||||
fi
|
||||
|
||||
set +x
|
||||
until grep "^Welcome to Alpine Linux" smoke.serial || [ $timeout -le 0 ]; do
|
||||
sleep 1;
|
||||
: $((--timeout))
|
||||
done
|
||||
set -x
|
||||
|
||||
tail -n 100 smoke.serial
|
||||
|
||||
|
||||