#!/bin/sh
##############################################################################
# Copyright (c) Members of the EGEE Collaboration. 2010.
# See http://www.eu-egee.org/partners/ for details on the copyright
# holders.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS
# OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
##############################################################################
#
# AUTHORS: Gianni Pucciani, CERN
#          Alejandro Álvarez Ayllón, CERN
#          Dimitar Shiyachki <Dimitar.Shiyachki@cern.ch>
# 
# Configuration script for LFC tests
#
##############################################################################

#################
# Configuration #
#################

# VO
export VO="testers.eu-emi.eu"
export SAME_VO=$VO

# Hosts configuration
export LFC_HOST=`hostname -f`

export SE_HOST=cvitbdpm1.cern.ch
export SRMV2_PORT=8446
export DPNS_HOST=$SE_HOST
export DPNS_DOMAIN="cern.ch"
export DPNS_BASEDIR="home"
export SURL="srm://$SE_HOST:$SRMV2_PORT/srm/managerv2?SFN=/dpm/$DPNS_DOMAIN/$DPNS_BASEDIR/$VO"

export BDII_HOST=internaltb-bdii-site.cern.ch
export BDII_PORT=2170
export LCG_GFAL_INFOSYS=$BDII_HOST:$BDII_PORT


# Which files to use
export LFC_BASE_DIR=/grid/$VO
export LFCDIR=/grid/$VO/LFC-`date +%s`
export FILE=/etc/group

# Some readable variables
#export MODE=8		# Check all var acesses: 000 - 777, 512 variants . Running very long time (1 hour)
export SHORT=1		# Check short access: 000, 777
export MODE=4			# Check acesss: 000 - 222 (--- -wx-wx-wx )
export DMAX=5			# check deletion subdirectories (DMAX chaines)

# Temporary files to use
export LFC_TEST_ERR=/tmp/lfc_stderr
export LFC_TEST_TMP=/tmp/lfc_temp

# How many directories to create
export DMAX=5

#These SAME variables are needed to run the python scripts
export SAME_OK=0
export SAME_ERROR=1
export SAME_WARNING=3
export SAME_SENSOR_HOME=`pwd`
export SAME_SENSOR_WORK=`pwd`

source ./Common-config

