History log of /external/selinux/libsemanage/tests/test_utilities.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
68a4203f8742b1d06fe7401d6ede14b14e14f3be 05-Feb-2017 Nicolas Iooss <nicolas.iooss@m4x.org> libsemanage/tests: fix -Wwrite-strings warnings

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
/external/selinux/libsemanage/tests/test_utilities.c
57a3b1b4b0a50a1d14f825d2933339063ced4fec 21-Dec-2016 Nicolas Iooss <nicolas.iooss@m4x.org> libsemanage: add semanage_str_replace() utility function

This function will be used in the next commit.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
/external/selinux/libsemanage/tests/test_utilities.c
fd6bc593b809a055071edb620e9b17169c7a5c26 21-Dec-2016 Nicolas Iooss <nicolas.iooss@m4x.org> libsemanage/tests: test more cases of semanage_split*()

Before modifying semanage_split_on_space() and semanage_split(), test in
test_utilities.c how these functions behave for example when several
delimiter tokens are concatenated in the input string.

While at it, fix the memory leaks which were present in libsemanage
tests.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
/external/selinux/libsemanage/tests/test_utilities.c
b6d5805c7ad4bfa6d0544a21084e8ec1a47d7391 16-Mar-2015 Petr Lautrbach <plautrba@redhat.com> libsemanage: fix fname[] initialization in test_utilities.c

There's no guaranty that last item in "char fname[]" will be a null character.
Fixes segfault on some systems:

Test: semanage_nc_sort ...passedtest_semanage_findval: : Invalid argument
libsemanage-tests: TestRun.c:160: CU_assertImplementation: Assertion `((void *)0) != f_pCurTest' failed.
make[1]: *** [test] Aborted (core dumped)

Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
/external/selinux/libsemanage/tests/test_utilities.c
13cd4c8960688af11ad23b4c946149015c80d549 19-Aug-2008 Joshua Brindle <method@manicmethod.com> initial import from svn trunk revision 2950
/external/selinux/libsemanage/tests/test_utilities.c