accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r1423629 - /accumulo/branches/1.4/test/system/auto/TestUtils.py
Date Tue, 18 Dec 2012 20:35:50 GMT
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)



Mime
View raw message