Commit b5266449 authored by Andrea Valassi's avatar Andrea Valassi
Browse files

Do not overload CORAL_AUTH_PATH/CORAL_DBLOOKUP_PATH

for user sftnight if they are already set (CORALCOOL-2956)


git-svn-id: file:///git/lcgcool.svndb/cool/trunk@20188 4525493e-7705-40b1-a816-d608a930855b
parent ccc4bfa8
......@@ -724,6 +724,10 @@ class DatabaseTest(StandardTest):
# Drop old user lcgnight, keep only sftnight (see CORALCOOL-2191)
if sys.platform.startswith("win") :
raise RuntimeError("Windows is no longer supported!")
elif "CORAL_AUTH_PATH" in os.environ and "CORAL_DBLOOKUP_PATH" in os.environ :
# Do not overload CORAL_AUTH_PATH/CORAL_DBLOOKUP_PATH
# for user sftnight if they are already set (CORALCOOL-2956)
pass
elif sys.platform.startswith("darwin") and "USER" in env and \
env["USER"] == "sftnight" :
# Use credentials from $HOME/private on Mac (CORALCOOL-1083)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment