After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 578609 - LDTP should use LOGNAME instead of (or in addition to) USER
LDTP should use LOGNAME instead of (or in addition to) USER
Status: RESOLVED FIXED
Product: LDTP
Classification: Other
Component: ldtp
unspecified
Other opensolaris
: Normal normal
: ---
Assigned To: Nagappan Alagappan
LDTP Development Mailing List
Depends on:
Blocks:
 
 
Reported: 2009-04-10 14:39 UTC by Willie Walker
Modified: 2009-04-10 15:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to replace USER with LOGNAME (4.67 KB, patch)
2009-04-10 14:49 UTC, Willie Walker
committed Details | Review

Description Willie Walker 2009-04-10 14:39:57 UTC
I might be wrong about this, but I believe the $LOGNAME environment variable tends to be more guaranteed to be present than $USER.  As a result, on systems where $USER is not present, LDTP can fail.
Comment 1 Willie Walker 2009-04-10 14:49:45 UTC
Created attachment 132468 [details] [review]
Patch to replace USER with LOGNAME

I *think* this patch catches all the USER uses and replaces them with LOGNAME.
Comment 2 Nagappan Alagappan 2009-04-10 15:10:10 UTC
Thanks for the patch. Commited in git.