CE-cms-squid 504 Bytes
Newer Older
Andrea Sciaba's avatar
Andrea Sciaba committed
1
2
3
4
5
6
7
#!/bin/bash

echo "<h2>Test of the local FroNtier squid</h2>"

# Source the CMS environment
echo "<h3>Sourcing the CMS environment</h3>"
echo "<pre>"
Andrea Sciaba's avatar
Andrea Sciaba committed
8
export SCRAM_ARCH=slc3_ia32_gcc323
Andrea Sciaba's avatar
Andrea Sciaba committed
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
source $VO_CMS_SW_DIR/cmsset_default.sh
result=$?
echo "</pre>"
if [ $result != 0 ]
    then
    echo "ERROR: $VO_CMS_SW_DIR/cmsset_default.sh non existent or non readable"
    exit $SAME_ERROR
fi

echo "<pre>"

# Execute main test script
$SAME_SENSOR_HOME/tests/test_squid.py 2>&1
result=$?
echo "</pre>"
exit $result