projects
/
project
/
uci.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6b6029ae104fdde97c701c96fc1cd9b574a2fbfe
[project/uci.git]
/
test
/
tests.d
/
020_get
1
test_get_option()
2
{
3
cp ${REF_DIR}/get.data ${CONFIG_DIR}/test
4
value=$($UCI get test.section.opt)
5
assertEquals 'val' "$value"
6
}
7
8
test_get_section()
9
{
10
cp ${REF_DIR}/get.data ${CONFIG_DIR}/test
11
type=$($UCI get test.section)
12
assertEquals 'type' "$type"
13
}