Yousong Zhou
|
3c7f3556b0
Fix delta path handling.
|
9 years ago |
Yousong Zhou
|
3b3c554567
tests: add test cases for -P and -p options.
|
9 years ago |
Yousong Zhou
|
06df8218e7
lua: restore return value of require('uci') to module table.
|
9 years ago |
Yousong Zhou
|
54ca5ae347
cli: fix return value of package_cmd().
|
9 years ago |
Yousong Zhou
|
90ba7cac9d
testenv: test for exit status of "uci export".
|
9 years ago |
Yousong Zhou
|
790d30606d
Add a few notes on the return value of uci_lookup_ptr().
|
9 years ago |
Yousong Zhou
|
3e26ec5716
cli: enhance "uci show" command on nonexistent sections and options.
|
9 years ago |
Yousong Zhou
|
446e774d0e
cli: properly unload package before quit.
|
9 years ago |
Yousong Zhou
|
37930de695
tests: add test cases for showing nonexistent section and option.
|
9 years ago |
Felix Fietkau
|
b121dd1828
lua: add lua 5.2 compatibility changes
|
9 years ago |
Felix Fietkau
|
e66c20610e
allow "-" in package names
|
9 years ago |
Yousong Zhou
|
0cb5d33100
delta: fix outputing of delta entries occupying multiple lines.
|
9 years ago |
Yousong Zhou
|
65478f0636
delta: use a table for converting between UCI_CMD_XXX and prefixes.
|
9 years ago |
Yousong Zhou
|
8aaed0dcd6
delta: preprocess delta line with uci_parse_argument().
|
9 years ago |
Yousong Zhou
|
32815cf495
delta: add a simple duplication check when adding delta path.
|
9 years ago |
Yousong Zhou
|
ec302c635b
cli: fix printing option values occupying multiple lines.
|
9 years ago |
Yousong Zhou
|
9f405e2def
tests: add test coverage for uci list related commands.
|
9 years ago |
Yousong Zhou
|
8c09e2aefc
tests: add test coverage for `uci revert' command.
|
9 years ago |
Yousong Zhou
|
aa4113169d
tests: add test coverage for `uci batch' command.
|
9 years ago |
Yousong Zhou
|
8dd9e03ef2
tests: add more test coverage for `uci show' command.
|
9 years ago |
Yousong Zhou
|
5086ffb40b
tests: remove straying echo in 020_get.
|
9 years ago |
Yousong Zhou
|
69d1b47b26
file: fix error string about "unterminated XXX".
|
9 years ago |
Yousong Zhou
|
def58eba24
file: fix EOF check.
|
9 years ago |
Yousong Zhou
|
61657246a9
file: fix use-after-free bug.
|
9 years ago |
Yousong Zhou
|
ecf0ed555e
Fix memory leaks found by using valgrind on test cases.
|
9 years ago |
Yousong Zhou
|
9167f11f00
Fix a few style issues.
|
9 years ago |
Felix Fietkau
|
b342283d2d
fix a few formatting issues
|
9 years ago |
Felix Fietkau
|
471dcf63d6
tests: use uci instead of uci-static
|
9 years ago |
Yousong Zhou
|
ba0c243560
Add test coverage for multi-line option value.
|
9 years ago |
Yousong Zhou
|
f8f9decc54
Use offset into parser buffer to avoid potential heap overflow.
|
9 years ago |