Document tests
[centaur.git] / tests / 05-detour.test
index c46ef2f5ca4469a0205b6d1a322826c89435a076..a2d5d0677f7fdcaecb4b075ed2220c7863b62b99 100644 (file)
@@ -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 \