In order to extend test coverage and help testing refactoring. Signed-off-by: Petr Štetiar <ynezz@true.cz>
@@ -0,0 +1 @@
+config alias' 'a'
@@ -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"))
@@ -56,3 +56,4 @@ run basic Lua tests:
proto: dhcp
.anonymous: false
aliases: c d
+ nil\tuci: Parse error (EOF with unterminated ') at line 1, byte 18 (esc)