File: ci_autostart.sh

package info (click to toggle)
labwc 0.9.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,856 kB
  • sloc: ansic: 32,546; perl: 5,834; xml: 886; sh: 162; python: 131; makefile: 12
file content (17 lines) | stat: -rwxr-xr-x 277 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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