]> git.immae.eu Git - github/fretlink/ansible-clever.git/blobdiff - tests/fake.sh
tests: expectations on binary stub
[github/fretlink/ansible-clever.git] / tests / fake.sh
index 75bc0514d8b22407f45355259ce8ae74936b2ddb..bbb4380637bf691669764043ccd1856cc9ec4c6e 100755 (executable)
@@ -10,5 +10,6 @@ elif [ "${binary}" = "clever" ] && [ "${1}" = "activity" ]; then
 elif [ "${binary}" = "git" ]; then
     echo "${fakeCommit}"
 else
+    echo "${1}" >> "${binary}-commands"
     echo "${binary} called with arguments: ${*}"
 fi