labwc/scripts/ci/ci_autostart.sh
2024-11-26 06:12:46 +01:00

17 lines
277 B
Bash
Executable file

#!/usr/bin/env bash
exec 1>&2
if test -z "$LABWC_PID"; then
echo "LABWC_PID not set" >&2
exit 1
fi
echo "Running with pid $LABWC_PID"
# Runtime tests
echo "Executing foot"
foot sh -c 'sleep 1; exit'
echo "Foot exited with $?"
echo "Killing labwc"
kill -s TERM $LABWC_PID