kpatch/test
Seth Jennings 0cbb7cf5ee add automated testing system
This commit introduces a simple automated testing system
with 3 simple testcase.

For each test case there is a .c, a .patch, and a .inventory
file.  The .c is compiled, using the flags from the kflags file,
to create the original object.  The .c file is then patched
with the .patch file and rebuilt to create the patched object.
The files are then analyzed by the differencing tool and an
output object is generated with a .inventory file that lists
the sections and symbol included in the output object.  That
inventory file is then compared to the .inventory file for
that testcase.  If they are the same, the test passes. If
not, the differences in the inventory files are displayed,
and the test fails.

Signed-off-by: Seth Jennings <sjenning@redhat.com>
2014-03-10 14:36:11 -05:00
..
Makefile add automated testing system 2014-03-10 14:36:11 -05:00
test01.c add automated testing system 2014-03-10 14:36:11 -05:00
test01.inventory add automated testing system 2014-03-10 14:36:11 -05:00
test01.patch add automated testing system 2014-03-10 14:36:11 -05:00
test02.c add automated testing system 2014-03-10 14:36:11 -05:00
test02.inventory add automated testing system 2014-03-10 14:36:11 -05:00
test02.patch add automated testing system 2014-03-10 14:36:11 -05:00
test03.c add automated testing system 2014-03-10 14:36:11 -05:00
test03.inventory add automated testing system 2014-03-10 14:36:11 -05:00
test03.patch add automated testing system 2014-03-10 14:36:11 -05:00
testall.sh add automated testing system 2014-03-10 14:36:11 -05:00
testone.sh add automated testing system 2014-03-10 14:36:11 -05:00