Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
etf
cmssam
Commits
a1cc7542
Commit
a1cc7542
authored
Mar 25, 2010
by
Christoph Wissing
Browse files
Add some debugging for platform detection.
parent
0b1f247b
Changes
1
Hide whitespace changes
Inline
Side-by-side
SiteTests/testjob/tests/CE-cms-dummy
View file @
a1cc7542
...
...
@@ -14,7 +14,7 @@ echo '<h1><a href="#summary">Jump to test summary</a></h1>'
echo
"<h2>Preliminary checks</h2>"
echo
"<pre>"
echo
"version
1
2-0
1
-2010 17:00"
echo
"version 2
5
-0
3
-2010 17:00"
uname
-a
cat
/etc/issue
date
...
...
@@ -73,6 +73,18 @@ if [ $result != 0 ]
exit
$SAME_ERROR
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>"
if
[
"
`
echo
$SW_DIR
|
cut
-d
/
-f
2
`
"
==
"afs"
]
;
then
echo
"AFS mode"
...
...
@@ -456,6 +468,22 @@ else
# find . -type f ! -perm -o+r -print
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>'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment