X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=test%2Ftests.d%2F030_set;h=137a955f2d05f5a1135233432f8d814da508bdad;hp=8f695ed944f16880188c5914e882731238e0ea54;hb=179b6f5fced8a0c1028ee56451efa26e40392961;hpb=4dc75cbcd4cbd7f5f7924c4b912c2faea0ec432c diff --git a/test/tests.d/030_set b/test/tests.d/030_set index 8f695ed..137a955 100644 --- a/test/tests.d/030_set +++ b/test/tests.d/030_set @@ -1,3 +1,13 @@ +test_set_parsing() +{ + 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" +} + test_set_named_section() { touch ${CONFIG_DIR}/set