#!/bin/bash # # test-argb.sh # # SPDX-License-Identifier: GPL-2.0-or-later # # ==== # # basically tests a argb window is rendered ok and doesn't crash matchbox # if [ -z "$SLEEP" ]; then SLEEP="0" fi function waitamo() { if [ "$SLEEP" == "0" ]; then echo "Hit a key" read else sleep $SLEEP fi } echo; echo "ARGB dialog ( transient for root )"; waitamo ./argbtest & TEST=$!; waitamo; kill $TEST; exit 0