chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test site: Provide a stunt sendmail
[dgit.git]
/
tests
/
tstunt
/
sendmail
diff --git a/tests/tstunt/sendmail
b/tests/tstunt/sendmail
new file mode 100755
(executable)
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