diff options
author | Wayne Davison <wayned@samba.org> | 2004-01-04 07:07:08 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-01-04 07:07:08 +0000 |
commit | 393ba2214d0c4c31de44a1278ff3106ee7d97522 (patch) | |
tree | 2dee897828421b086441a6fc762c4093d89224b0 | |
parent | f358487f8eb5b8e7eb52177a1896816bce58139b (diff) | |
download | rsync-393ba2214d0c4c31de44a1278ff3106ee7d97522.tar.gz rsync-393ba2214d0c4c31de44a1278ff3106ee7d97522.tar.bz2 rsync-393ba2214d0c4c31de44a1278ff3106ee7d97522.zip |
Try using "id -un" before "whoami" since the latter doesn't exist on
SunOS systems (and I hope the former works -- we'll see).
-rwxr-xr-x | runtests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtests.sh b/runtests.sh index bb0b34a6..68d7313b 100755 --- a/runtests.sh +++ b/runtests.sh @@ -142,7 +142,7 @@ echo "$0 running in `pwd`" echo " rsync_bin=$rsync_bin" echo " srcdir=$srcdir" -testuser=`whoami || echo UNKNOWN` +testuser=`id -un || whoami || echo UNKNOWN` echo " testuser=$testuser" echo " os=`uname -a`" |