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