You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by vi...@apache.org on 2012/12/18 21:35:50 UTC

svn commit: r1423629 - /accumulo/branches/1.4/test/system/auto/TestUtils.py

Author: vines
Date: Tue Dec 18 20:35:49 2012
New Revision: 1423629

URL: http://svn.apache.org/viewvc?rev=1423629&view=rev
Log:
ACCUMULO-915 - stupid nonportable code


Modified:
    accumulo/branches/1.4/test/system/auto/TestUtils.py

Modified: accumulo/branches/1.4/test/system/auto/TestUtils.py
URL: http://svn.apache.org/viewvc/accumulo/branches/1.4/test/system/auto/TestUtils.py?rev=1423629&r1=1423628&r2=1423629&view=diff
==============================================================================
--- accumulo/branches/1.4/test/system/auto/TestUtils.py (original)
+++ accumulo/branches/1.4/test/system/auto/TestUtils.py Tue Dec 18 20:35:49 2012
@@ -41,7 +41,7 @@ FUZZ=os.getpid() % 997
 ACCUMULO_HOME = os.path.dirname(__file__)
 ACCUMULO_HOME = os.path.join(ACCUMULO_HOME, *(os.path.pardir,)*3)
 ACCUMULO_HOME = os.path.realpath(ACCUMULO_HOME)
-ACCUMULO_DIR = "/user/" + os.getlogin() + "/accumulo-" + ID
+ACCUMULO_DIR = "/user/" + os.getenv('LOGNAME') + "/accumulo-" + ID
 SITE = "test-" + ID
 
 WALOG = os.path.join(ACCUMULO_HOME, 'walogs', ID)