README.md: x86-32/64 support
[centaur.git] / tests / 03-injection32.test
1 #!/bin/sh
2
3 # Test if elfu can inject a x86-32 object file into an x86-32
4 # executable. Since both are given, we can compare the output to a
5 # reference file.
6
7 source ./boilerplate.sh
8
9 elfucli --input reference/putsmain32 \
10         --reladd reference/puts-alternative32.o \
11         --output $BUILDDIR/putsmain32-with-puts-alternative32
12 test_check_retval
13
14 cmp reference/putsmain32-with-puts-alternative32 \
15     $BUILDDIR/putsmain32-with-puts-alternative32
16 test_check_retval