git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DKIM: fix base64 decode to ignore whitespace; needed for private-key input
[exim.git]
/
test
/
aux-fixed
/
showenv
diff --git
a/test/aux-fixed/showenv
b/test/aux-fixed/showenv
index 5d9ef8f8a34e05ea47fb6b643cd31a8e83c197ea..2d46eefb77a83fe607beea9694bd9073ceca61af 100755
(executable)
--- a/
test/aux-fixed/showenv
+++ b/
test/aux-fixed/showenv
@@
-3,7
+3,9
@@
# This script outputs certain information about the environment, for use when
# testing pipe transports.
# This script outputs certain information about the environment, for use when
# testing pipe transports.
-name=`whoami 2>/dev/null` || name=`who . . | awk '{print $1}'`
+cmd=/usr/xpg4/bin/id
+[ -x $cmd ] || cmd=id
+name=`$cmd -un`
echo Test pipe script
echo Running as: $name
echo Test pipe script
echo Running as: $name