Show user name and `uname -a` in the test output header, to aid in bug
authorMartin Pool <mbp@samba.org>
Thu, 14 Mar 2002 03:04:36 +0000 (03:04 +0000)
committerMartin Pool <mbp@samba.org>
Thu, 14 Mar 2002 03:04:36 +0000 (03:04 +0000)
reports.  (We mostly want to know if they're root or not.)

runtests.sh

index d3755ae..50f4c8b 100755 (executable)
@@ -139,6 +139,16 @@ echo "$0 running in `pwd`"
 echo "    rsync_bin=$rsync_bin"
 echo "    srcdir=$srcdir"
 
+if testuser=`whoami`
+then
+    :
+else 
+    testuser='(unknown)'
+fi
+
+echo "    testuser=$testuser"
+echo "    os=`uname -a`"
+
 if test ! -f $rsync_bin
 then
     echo "rsync_bin $rsync_bin is not a file" >&2