summaryrefslogtreecommitdiff
path: root/tests/05-detour.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/05-detour.test')
-rw-r--r--tests/05-detour.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/05-detour.test b/tests/05-detour.test
index c46ef2f..a2d5d06 100644
--- a/tests/05-detour.test
+++ b/tests/05-detour.test
@@ -1,4 +1,11 @@
#!/bin/sh
+
+# 1. Inject a freshly built object file into a fresh executable.
+# Both use a dynamically loaded function.
+# 2. Detour execution from a function in the executable to a function
+# originating from the object file.
+# 3. Check if the new executable prints the expected changed output.
+
source ./boilerplate.sh
elfucli --input $BUILDDIR/putsmainsub \