summaryrefslogtreecommitdiff
path: root/tests/tstunt/sendmail
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tstunt/sendmail')
-rwxr-xr-xtests/tstunt/sendmail8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/tstunt/sendmail b/tests/tstunt/sendmail
new file mode 100755
index 0000000..6df9747
--- /dev/null
+++ b/tests/tstunt/sendmail
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+exec >>"$DGIT_TEST_TMP/sendmail.log"
+echo '----------------------------------------------------------------'
+date
+printf "sendmail %s\n" "$*"
+cat
+echo