Skip to content

Commit

Permalink
XXX test
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpitt committed Dec 6, 2023
1 parent e669e6d commit be2761d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion containers/flatpak/test/test-ssh
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,13 @@ wait $CLIENT_PID

rm cockpit-client-test-*-*-*

echo 'XXXXX phase 1 done'

# Check if we can start via pure DBus activation
test ! -f cockpit-client-test-"${USER}"-cockpit-client-test-22
gapplication action "${FLATPAK_ID}" open-path '"=cockpit-client-test"'
until test -f cockpit-client-test-"${USER}"-cockpit-client-test-22; do sleep 0.5; done

gapplication action "${FLATPAK_ID}" quit
gapplication action "${FLATPAK_ID}" quit || true
while flatpak ps | grep org.cockpit_project.CockpitClient; do sleep 1; done
rm cockpit-client-test-*-*-*

0 comments on commit be2761d

Please sign in to comment.