Commit 53e1f937 authored by Martin Pool's avatar Martin Pool

Show user name and `uname -a` in the test output header, to aid in bug

reports.  (We mostly want to know if they're root or not.)
parent 604f343c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment