README.md: x86-32/64 support
[centaur.git] / tests / 04-injection64.test
1 #!/bin/sh
2
3 # Test if elfu can inject a x86-64 object file into an x86-64
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/putsmain64 \
10         --reladd reference/puts-alternative64.o \
11         --output $BUILDDIR/putsmain64-with-puts-alternative64
12 test_check_retval
13
14 cmp reference/putsmain64-with-puts-alternative64 \
15     $BUILDDIR/putsmain64-with-puts-alternative64
16 test_check_retval