Commit a1cc7542 authored by Christoph Wissing's avatar Christoph Wissing
Browse files

Add some debugging for platform detection.

parent 0b1f247b
...@@ -14,7 +14,7 @@ echo '<h1><a href="#summary">Jump to test summary</a></h1>' ...@@ -14,7 +14,7 @@ echo '<h1><a href="#summary">Jump to test summary</a></h1>'
echo "<h2>Preliminary checks</h2>" echo "<h2>Preliminary checks</h2>"
echo "<pre>" echo "<pre>"
echo "version 12-01-2010 17:00" echo "version 25-03-2010 17:00"
uname -a uname -a
cat /etc/issue cat /etc/issue
date date
...@@ -73,6 +73,18 @@ if [ $result != 0 ] ...@@ -73,6 +73,18 @@ if [ $result != 0 ]
exit $SAME_ERROR exit $SAME_ERROR
fi fi
echo "<h3>A bit platform detection testing</h3>"
echo "<pre>"
if [ -x $SW_DIR/common/cmsos ]; then
echo -n "cmsos reports: "
$SW_DIR/common/cmsos
fi
if [ -x $SW_DIR/common/cmsarch ]; then
echo -n "cmsarch reports: "
$SW_DIR/common/cmsarch
fi
echo "</pre>"
echo "<h2><a name="DiskSpace"></a>Some trivial checks</h2>" echo "<h2><a name="DiskSpace"></a>Some trivial checks</h2>"
if [ "`echo $SW_DIR | cut -d / -f 2`" == "afs" ]; then if [ "`echo $SW_DIR | cut -d / -f 2`" == "afs" ]; then
echo "AFS mode" echo "AFS mode"
...@@ -456,6 +468,22 @@ else ...@@ -456,6 +468,22 @@ else
# find . -type f ! -perm -o+r -print # find . -type f ! -perm -o+r -print
fi fi
echo "<h3>cms-common RPMs</h3>"
APTINIT=`find $SW_DIR/slc4_ia32_gcc345/external/apt -name init.sh`
source $APTINIT
echo "<pre>"
echo -n "SL4 RPM: "
rpm -qa | grep cms-common
echo "</pre>"
if [ -d $SW_DIR/slc5_ia32_gcc434 ]; then
APTINIT=`find $SW_DIR/slc5_ia32_gcc434/external/apt -name init.sh`
source $APTINIT
echo "<pre>"
echo -n "SL5 RPM: "
rpm -qa | grep cms-common
echo "</pre>"
fi
echo '<h1><a name="summary"> Test Summary</a></h1><p>' echo '<h1><a name="summary"> Test Summary</a></h1><p>'
......
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