{
cp ${REF_DIR}/get_parsing.data ${CONFIG_DIR}/test
- assertFailWithNoReturn "${UCI} get test."
- assertFailWithNoReturn "${UCI} get test.section."
- assertFailWithNoReturn "${UCI} get test.section.opt."
- assertFailWithNoReturn "${UCI} get test.section.opt.val."
- assertFailWithNoReturn "${UCI} get test.section.opt.val.qsdf.qsd"
- assertFailWithNoReturn "${UCI} get test.section.opt.valqsqsd"
+ assertFailWithNoReturn "${UCI_Q} get test."
+ assertFailWithNoReturn "${UCI_Q} get test.section."
+ assertFailWithNoReturn "${UCI_Q} get test.section.opt."
+ assertFailWithNoReturn "${UCI_Q} get test.section.opt.val."
+ assertFailWithNoReturn "${UCI_Q} get test.section.opt.val.qsdf.qsd"
+ assertFailWithNoReturn "${UCI_Q} get test.section.opt.valqsqsd"
}
test_get_section_index_parsing()
{
cp ${REF_DIR}/get_parsing.data ${CONFIG_DIR}/test
- assertFailWithNoReturn "${UCI} get test.@"
- assertFailWithNoReturn "${UCI} get test.@zer."
- assertFailWithNoReturn "${UCI} get test.@."
- assertFailWithNoReturn "${UCI} get test.@zer[1]"
- assertFailWithNoReturn "${UCI} get test.@.opt"
- assertFailWithNoReturn "${UCI} get test.@[28]"
- assertFailWithNoReturn "${UCI} get test.@[1]."
- assertFailWithNoReturn "${UCI} get test.@[1].val."
+ assertFailWithNoReturn "${UCI_Q} get test.@"
+ assertFailWithNoReturn "${UCI_Q} get test.@zer."
+ assertFailWithNoReturn "${UCI_Q} get test.@."
+ assertFailWithNoReturn "${UCI_Q} get test.@zer[1]"
+ assertFailWithNoReturn "${UCI_Q} get test.@.opt"
+ assertFailWithNoReturn "${UCI_Q} get test.@[28]"
+ assertFailWithNoReturn "${UCI_Q} get test.@[1]."
+ assertFailWithNoReturn "${UCI_Q} get test.@[1].val."
}
test_get_option()
{
cp ${REF_DIR}/set_parsing.data ${CONFIG_DIR}/test
- assertFailWithNoReturn "${UCI} set test.=val"
- assertFailWithNoReturn "${UCI} set test.section.=val"
- assertFailWithNoReturn "${UCI} set test.section.opt.=val"
- assertFailWithNoReturn "${UCI} set test.section.opt.zflk=val"
+ assertFailWithNoReturn "${UCI_Q} set test.=val"
+ assertFailWithNoReturn "${UCI_Q} set test.section.=val"
+ assertFailWithNoReturn "${UCI_Q} set test.section.opt.=val"
+ assertFailWithNoReturn "${UCI_Q} set test.section.opt.zflk=val"
}
test_set_named_section()
{
cp ${REF_DIR}/show_parsing.data ${CONFIG_DIR}/test
- assertFailWithNoReturn "${UCI} show test."
- assertFailWithNoReturn "${UCI} show test.section."
- assertFailWithNoReturn "${UCI} show test.section.opt."
- assertFailWithNoReturn "${UCI} show test.section.opt.val."
- assertFailWithNoReturn "${UCI} show test.section.opt.val.qsdf.qsd"
- assertFailWithNoReturn "${UCI} show test.section.opt.valqsqsd"
+ assertFailWithNoReturn "${UCI_Q} show test."
+ assertFailWithNoReturn "${UCI_Q} show test.section."
+ assertFailWithNoReturn "${UCI_Q} show test.section.opt."
+ assertFailWithNoReturn "${UCI_Q} show test.section.opt.val."
+ assertFailWithNoReturn "${UCI_Q} show test.section.opt.val.qsdf.qsd"
+ assertFailWithNoReturn "${UCI_Q} show test.section.opt.valqsqsd"
}