Skip to content

Commit

Permalink
test: add system status check in the end
Browse files Browse the repository at this point in the history
  • Loading branch information
amezin committed Dec 29, 2024
1 parent 789481a commit b141c8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test-wayland.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@ done

env "${ENV_VARS[@]}" dbus-send --session --print-reply --dest=org.gnome.Shell.Screenshot /org/gnome/Shell/Screenshot org.gnome.Shell.Screenshot.Screenshot 'boolean:true' 'boolean:false' "string:${SHARED_DIR}/screenshot-wayland.png"
cp "${SHARED_DIR}/screenshot-wayland.png" "${SCRIPT_DIR}/"

podman exec "$CID" sh -c 'if command -v systemctl; then systemctl is-system-running; fi'
2 changes: 2 additions & 0 deletions test/test-x11.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,5 @@ done

env "${ENV_VARS[@]}" dbus-send --session --print-reply --dest=org.gnome.Shell.Screenshot /org/gnome/Shell/Screenshot org.gnome.Shell.Screenshot.Screenshot 'boolean:true' 'boolean:false' "string:${SHARED_DIR}/screenshot-x11.png"
cp "${SHARED_DIR}/screenshot-x11.png" "${SCRIPT_DIR}/"

podman exec "$CID" sh -c 'if command -v systemctl; then systemctl is-system-running; fi'

0 comments on commit b141c8e

Please sign in to comment.