summaryrefslogtreecommitdiff
path: root/test/env
Commit message (Collapse)AuthorAgeLines
* test: env: Add a test of the new regex behavior for attrsJoe Hershberger2015-05-21-0/+27
| | | | | | | | The behavior of the env attrs depends on CONFIG_REGEX. Add an additional test if that variable is set. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* test: env: Add test for verifying env attrsJoe Hershberger2015-05-21-0/+63
| | | | | | | Add a test of the env_attr_lookup() function. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* test: env: Add test framework for envJoe Hershberger2015-05-21-0/+52
Add a new "env" subcommand to the ut command. This will run unit tests on the env code. This should be targetable to any device that supports the env features needed for the tests. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org>