projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: cram: Lua: add test case for uci_get_errorstr
[project/uci.git]
/
tests
/
cram
/
lua
/
basic.lua
diff --git
a/tests/cram/lua/basic.lua
b/tests/cram/lua/basic.lua
index ceb706f6973e304bc0e60bd62595443303999bad..f0052644c00e9072b758ac1c40dda85a2534a9b3 100644
(file)
--- a/
tests/cram/lua/basic.lua
+++ b/
tests/cram/lua/basic.lua
@@
-42,3
+42,5
@@
local t = c:get("network", "lan", "dns")
A(#t == 2)
A(t[1] == "ns1.king.banik.cz")
A(t[2] == "ns2.openwrt.org")
+
+print(c:get_all("broken"))