X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/b9c5223b77400cec8c44a8972a238f9cde82f0fc..5d4da40d5b25b4f4029b46246c9757b42929bd87:/test/aux-fixed/showenv?ds=sidebyside diff --git a/test/aux-fixed/showenv b/test/aux-fixed/showenv index 5d9ef8f8a..2d46eefb7 100755 --- 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. -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