testsuite: fix test_array_sort pointers inderection
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 <0d6c66cf06ee77089f9b834ad16e0f050cf87c60@redhat.com>

lpereira/kmod,lucasdemarchi/kmod,pmmccorm/kmod,lucasdemarchi/kmod,lucasdemarchi/kmod,lpereira/kmod,lpereira/kmod,pmmccorm/kmod,pmmccorm/kmod