summaryrefslogtreecommitdiff
diff options
authorPaul Larson <paul.larson@canonical.com>2019-12-11 19:28:35 -0600
committerPaul Larson <paul.larson@canonical.com>2019-12-11 19:28:35 -0600
commiteb64aba7ee9789f204700560ead98ebea18c07b2 (patch)
tree76f9f5869afb9b21755d08544873b3e5b2df91fe
parent8ab9cf164babdd2156f639b44ec9f1cf15fe1677 (diff)
Use pkill to kill the totem process for video screenshot test, because
it's more reliable than totem --quit
-rw-r--r--units/graphics/jobs.pxu2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu
index 13d9afe..fba1f7e 100644
--- a/units/graphics/jobs.pxu
+++ b/units/graphics/jobs.pxu
@@ -405,7 +405,7 @@ command:
totem --fullscreen $PLAINBOX_PROVIDER_DATA/video/Ogg_Theora_Video.ogv 2>/dev/null &
set -o pipefail
sleep 15 && camera_test still --device=/dev/external_webcam -f $PLAINBOX_SESSION_SHARE/screenshot_fullscreen_video_{index}.jpg -q 2>&1 | ansi_parser
- sleep 5 && totem --quit 2>/dev/null
+ sleep 5 && pkill totem
gsettings set org.gnome.totem repeat false
_summary: Test FSV screenshot for {vendor} {product}
_description: