summaryrefslogtreecommitdiff
path: root/test/aux-fixed/showenv
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-02-07 10:16:23 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-02-07 10:16:23 +0000
commit9ba4af2b76958e076a0c002e53ead87ed7a47a68 (patch)
tree7d0420abd15c97c46159bd629564fd612e697928 /test/aux-fixed/showenv
parentc55a77db55ebf46a399f136eeb3a928b1e862772 (diff)
More new test committing.
Diffstat (limited to 'test/aux-fixed/showenv')
-rwxr-xr-xtest/aux-fixed/showenv38
1 files changed, 38 insertions, 0 deletions
diff --git a/test/aux-fixed/showenv b/test/aux-fixed/showenv
new file mode 100755
index 000000000..a49833ada
--- /dev/null
+++ b/test/aux-fixed/showenv
@@ -0,0 +1,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 ------------------
+