chiark / gitweb /
test: add a few tests and tidy up
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Wed, 6 Feb 2013 20:15:23 +0000 (21:15 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Wed, 6 Feb 2013 20:15:23 +0000 (21:15 +0100)
commit539ad707db5361e7fbe0076615a92456fd34f7df
tree946af36e3031a8bc5b1dc4e31ceae224658c7332
parent4f19b1df41b9a1971989ffd858d0a2f6977b01c8
test: add a few tests and tidy up

adds test of:
strv_find
strv_find_prefix
strv_overlap
strv_sort
streq_ptr
first_word

Splits tests of util.c into own file to avoid clutter as we add more.

Removed a few prints and uses _cleanup_free_ to make the tests more focused.
.gitignore
Makefile.am
src/test/test-strv.c
src/test/test-util.c [new file with mode: 0644]