aboutsummaryrefslogtreecommitdiff
path: root/tests/sendmail/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sendmail/testscript')
-rw-r--r--tests/sendmail/testscript10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/sendmail/testscript b/tests/sendmail/testscript
new file mode 100644
index 0000000..49776a3
--- /dev/null
+++ b/tests/sendmail/testscript
@@ -0,0 +1,10 @@
+# file : tests/sendmail/testscript
+# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+$* admin@build2.org <<EOI 2>>EOE
+Test email to admin@build2.org.
+Sent from libbutl/tests/sendmail/testscript.
+EOI
+sendmail -i -t
+EOE