From b79f757e53d0ceddb835137ebc5bdf41c4148b1f Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Wed, 15 Sep 2021 16:50:18 +0200 Subject: Wait for screenshot until display is up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan-Simon Möller Change-Id: Ie74175ab892f12a4eca439350bdd043bb282f931 --- common/scripts/agl-screenshot-test.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common') diff --git a/common/scripts/agl-screenshot-test.sh b/common/scripts/agl-screenshot-test.sh index d1261ba..b0c79cd 100755 --- a/common/scripts/agl-screenshot-test.sh +++ b/common/scripts/agl-screenshot-test.sh @@ -67,6 +67,9 @@ fi #echo "Found agl-screenshoooter in $AGL_SCREENSHOOTER" rm -rf agl-screenshot-*.png +# give it a bit more time to display +sleep 30 + if $AGL_SCREENSHOOTER; then echo "Screenshot taken" else -- cgit 1.2.3-korg