History log of /external/kmod/testsuite/test-array.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d24270321142baead92285e2637f09da71992868 08-Nov-2016 Yauheni Kaliuta <yauheni.kaliuta@redhat.com> testsuite: fix test_array_sort pointers inderection

The array elements in the tests are strings, what means "char *"
in ะก. The comparation funtion takes pointers to the elements, so
the arguments become "char **". It means, that strcmp() cannot be
used directrly.

The patch creates a wrapper on strcmp() which perfoms
dereferencing of the "char **" to supply the actual strings to
strcmp(), and uses the wrapper as a comparation function for the
qsort() call.

Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
/external/kmod/testsuite/test-array.c
c78066aef16a35430647344285aa40975868da87 08-Jan-2015 Lucas De Marchi <lucas.demarchi@intel.com> testsuite: add test for array_pop()
/external/kmod/testsuite/test-array.c
dea2dfee9b301da84dbb09cf510b8ebf2ef28fff 26-Dec-2014 Lucas De Marchi <lucas.demarchi@intel.com> Remove FSF mailing address

It has changed in the past, and these days, anyone can get a copy of the
LGPL via the web rather than by post.

Like 657a122 (Remove FSF mailing address) in libabc by Josh Tripplet,
but let the FSF website in which the license can be found.
/external/kmod/testsuite/test-array.c
4328982058bd6840518ff552a0405bf8f9d73909 09-Oct-2014 Lucas De Marchi <lucas.demarchi@intel.com> testsuite: remove now unused array of tests

Remove the arrays and let each test with a guaranteed unique name.
/external/kmod/testsuite/test-array.c
f1155c1574b07c1e63cc6a06d51b32bc44bebcc3 09-Oct-2014 Lucas De Marchi <lucas.demarchi@intel.com> Move static keyword to DEFINE_TEST macro
/external/kmod/testsuite/test-array.c
fdafa6b6556d07cfd4cfd09dd5174c347ddd3f9a 08-Oct-2014 Lucas De Marchi <lucas.demarchi@intel.com> testsuite: add tests for array implementation
/external/kmod/testsuite/test-array.c