CI: make the smoke test start foot

This commit is contained in:
Consolatis 2024-11-26 04:30:38 +01:00
parent b0fb81c77b
commit 665b39259a
2 changed files with 9 additions and 5 deletions

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
exec 1>&2
if test -z "$LABWC_PID"; then
echo "LABWC_PID not set" >&2
@ -7,7 +8,10 @@ fi
echo "Running with pid $LABWC_PID"
# Could add runtime tests here
# Runtime tests
echo "Executing foot"
foot sh -c 'sleep 1; exit'
echo "Foot exited with $?"
echo "killing labwc"
echo "Killing labwc"
kill -s TERM $LABWC_PID