hw-test/scripts/wrapper-screen

23 lines
363 B
Text
Raw Normal View History

#!/bin/bash
touch /run/test.pid
cat > /usr/local/etc/screenrc << EOF
screen -t left test-all
split -v
focus bottom
screen -t right watcher-screen
EOF
WAIT=15
echo -n "Waiting $WAIT seconds for tests to start"
while [[ $WAIT -gt 0 ]] ; do
sleep 1
echo -n '.'
WAIT=$(( WAIT -1 ))
done
echo
echo "=====> Begin tests <====="
screen -c /usr/local/etc/screenrc