blob: b8dd99ccd89c66c454f201158c9e636a7d2e99be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
basedir=$(dirname "`dirname $0`")
source $basedir/src/core/libs/lib-ui.sh
ANSWER="/tmp/aif-test-dialog-answer"
for ui in dia cli
do
for type in required optional
do
for default in no tag-c
do
var_UI_TYPE=$ui
ask_option $default 'menu title ($2)' 'extra explanation ($3)'" settings: type: $type, default:$default" $type tagA itemA "tag B" 'item B' tag-c item\ C
notify "RETURN CODE: $?\nANSWER: $ANSWER_OPTION"
done
done
done
|