Image test runs - check if Geeqie has crashed
authorColin Clark <colin.clark@cclark.uk>
Sat, 22 Jul 2023 08:55:16 +0000 (09:55 +0100)
committerColin Clark <colin.clark@cclark.uk>
Sat, 22 Jul 2023 08:55:16 +0000 (09:55 +0100)
scripts/image-test.sh

index 8f49861..722eba7 100755 (executable)
@@ -37,6 +37,13 @@ done
 
 sleep 2
 
+# Check if Geeqie crashed
+if ! pgrep geeqie
+then
+       rm "$HOME/.config/geeqie/.command"
+       exit 1
+fi
+
 result=$(xvfb-run --auto-servernum "$1" --remote --get-file-info)
 xvfb-run --auto-servernum "$1" --remote --quit