testsuite: add support for testing output against regex
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 18 Dec 2018 23:36:11 +0000 (15:36 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 3 Jan 2019 20:43:18 +0000 (12:43 -0800)
commitc0937526b24dcd6b97e67d259ae15e9f2e0c4396
tree5b4b7030a4801315df15330e2bdb4a5df4e309a6
parenta5cc3521d85735d123d2720508c4fa938531d5a4
testsuite: add support for testing output against regex

Allow to test outputs when they don't match exactly, but should follow
some regex patterns. This can be used when the info we are printing is
randomized or depends on kernel configuration.
testsuite/testsuite.c
testsuite/testsuite.h