blob: 4ffd1eeefe27a9bd134243ebfe6c80081219d257 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/bash
#
# test-argb.sh
# ====
#
# 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
|