summaryrefslogtreecommitdiff
path: root/tests/03-injection32.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/03-injection32.test')
-rw-r--r--tests/03-injection32.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/03-injection32.test b/tests/03-injection32.test
new file mode 100644
index 0000000..235f243
--- /dev/null
+++ b/tests/03-injection32.test
@@ -0,0 +1,11 @@
+#!/bin/sh
+source ./boilerplate.sh
+
+elfucli --input reference/putsmain32 \
+ --reladd reference/puts-alternative32.o \
+ --output $BUILDDIR/putsmain32-with-puts-alternative32
+test_check_retval
+
+cmp reference/putsmain32-with-puts-alternative32 \
+ $BUILDDIR/putsmain32-with-puts-alternative32
+test_check_retval