[OpenWrt-Devel] [libubox] [PATCH v3 0/2] json_script: add "isdir" expr and tests

Yousong Zhou yszhou4tech at gmail.com
Wed Feb 17 02:45:07 EST 2016


v3:
	- fix typo in defining FILE_STDOUT (it was tests.stderr previously)

v2:
	- return 0 on stat() failure
	- add tests for json_script with utility compiled from examples


Yousong Zhou (2):
  json_script: add "isdir" support
  examples: add shunit2 tests for json_script

 .gitignore                        |    1 +
 examples/json_script-example.c    |    6 +-
 examples/json_script-example.json |    5 +
 examples/json_script-tests.sh     |  287 ++++++++++
 examples/shunit2                  | 1067 +++++++++++++++++++++++++++++++++++++
 json_script.c                     |   26 +
 6 files changed, 1389 insertions(+), 3 deletions(-)
 create mode 100644 examples/json_script-tests.sh
 create mode 100644 examples/shunit2

-- 
2.6.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list