summaryrefslogtreecommitdiff
path: root/test/aux-fixed/showenv
blob: a49833adab3d9d0e201eeae3a2cea405c8a3c6fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#! /bin/sh

# This script outputs certain information about the environment, for use when
# testing pipe transports.

echo Test pipe script
echo Running as: `whoami`
echo ------------------
echo Args:
while [ "$1" != "" ]; do
  echo "  $1"
  shift
done
echo ----------current-----------
pwd
echo ----------env-----------
echo A=$A
echo B=$B
echo C=$C
echo COLON=$COLON
echo DOMAIN=$DOMAIN
echo HOME=$HOME
echo LOCAL_PART=$LOCAL_PART
echo LOCAL_PART_PREFIX=$LOCAL_PART_PREFIX
echo LOCAL_PART_SUFFIX=$LOCAL_PART_SUFFIX
echo LOGNAME=$LOGNAME
echo ME=$ME
echo MESSAGE_ID=$MESSAGE_ID
echo PATH=$PATH
echo QUALIFY_DOMAIN=$QUALIFY_DOMAIN
echo RECIPIENT=$RECIPIENT
echo SENDER=$SENDER
echo SHELL=$SHELL
echo USER=$USER
echo ----------cat-----------
cat
echo ------------------