summaryrefslogtreecommitdiffstats
path: root/pigeonhole/tests/plugins/extprograms/bin/stderr
diff options
context:
space:
mode:
Diffstat (limited to 'pigeonhole/tests/plugins/extprograms/bin/stderr')
-rwxr-xr-xpigeonhole/tests/plugins/extprograms/bin/stderr20
1 files changed, 20 insertions, 0 deletions
diff --git a/pigeonhole/tests/plugins/extprograms/bin/stderr b/pigeonhole/tests/plugins/extprograms/bin/stderr
new file mode 100755
index 0000000..75b94b0
--- /dev/null
+++ b/pigeonhole/tests/plugins/extprograms/bin/stderr
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+echo "========================================" 1>&2
+echo "Test shell script successfully executed!" 1>&2
+echo 1>&2
+echo "Arguments: $1 $2" 1>&2
+echo 1>&2
+echo "Environment:" 1>&2
+env 1>&2
+echo 1>&2
+echo "Message:" 1>&2
+cat 1>&2
+echo "========================================" 1>&2
+echo 1>&2
+
+echo "Subject: frop!"
+echo "From: stephan@example.org"
+echo "To: tss@example.com"
+echo
+echo "Frop!"