aboutsummaryrefslogtreecommitdiffstats
path: root/runtests.sh
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-03-14 03:04:36 +0000
committerMartin Pool <mbp@samba.org>2002-03-14 03:04:36 +0000
commit53e1f937bc8fdfdf4caa1ec9e10101bee3d67d99 (patch)
tree277a04c0028d0d9c0e8e21b11b7cca5f6b65d266 /runtests.sh
parent604f343c49fcc8ec396e439cc6146a862a111405 (diff)
downloadandroid_external_rsync-53e1f937bc8fdfdf4caa1ec9e10101bee3d67d99.tar.gz
android_external_rsync-53e1f937bc8fdfdf4caa1ec9e10101bee3d67d99.tar.bz2
android_external_rsync-53e1f937bc8fdfdf4caa1ec9e10101bee3d67d99.zip
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.)
Diffstat (limited to 'runtests.sh')
-rwxr-xr-xruntests.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtests.sh b/runtests.sh
index d3755aef..50f4c8bc 100755
--- a/runtests.sh
+++ b/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