Testsuite: tidying
[exim.git] / test / aux-fixed / showenv
index 5d9ef8f8a34e05ea47fb6b643cd31a8e83c197ea..fc377cc8b9af77d13b5e8c5714d825f2cd7bc238 100755 (executable)
@@ -3,7 +3,7 @@
 # This script outputs certain information about the environment, for use when
 # testing pipe transports.
 
-name=`whoami 2>/dev/null` || name=`who . . | awk '{print $1}'`
+name=`id -un`
 
 echo Test pipe script
 echo Running as: $name