summaryrefslogtreecommitdiffstats
path: root/pigeonhole/tests/plugins/extprograms/bin/stderr
blob: 75b94b06bc06d1bd9b385d4c06c1c7121a0331af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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!"