Also fix the false error message about absence of uci-static.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
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"
+ assertFailWithNoReturn "${UCI_Q} show test.nilsection"
+ assertFailWithNoReturn "${UCI_Q} show test.nilsection.nilopt"
+ assertFailWithNoReturn "${UCI_Q} show test.section.nilopt"
}
prepare_get_parsing_multiline() {
UCI_BIN="../uci"
[ -x $UCI_BIN ] || {
- echo "uci-static is not present."
+ echo "uci is not present." >&2
return 1
}
UCI="${UCI_BIN} -c ${CONFIG_DIR} -p ${CHANGES_DIR}"