mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-03-15 21:09:01 -04:00
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.)
This commit is contained in:
10
runtests.sh
10
runtests.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user