README.md: x86-32/64 support
[centaur.git] / tests / 06-data64kb.test
1 #!/bin/sh
2
3 # 1. Inject a freshly built object file with a 64 KB data section into
4 #    a fresh executable.
5 # 2. Check if the new executable is still functional.
6
7 source ./boilerplate.sh
8
9 elfucli --input $BUILDDIR/putsmain \
10         --reladd $BUILDDIR/data64kb.o \
11         --output $BUILDDIR/putsmain-with-data64kb
12 test_check_retval
13
14 $BUILDDIR/putsmain-with-data64kb | grep -q "puts() #2 called in main()"
15 test_check_retval