mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			277 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			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
 |