summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Burke <jburke@redhat.com>2010-07-14 16:16:45 +0000
committerJeff Burke <jburke@redhat.com>2010-07-14 16:16:45 +0000
commit91db1ffcc26495d5ca84ac6ef9bc4edc942d48f8 (patch)
tree27846b08c173bec43f0efbede22f040b5a98a10c
parentaa9660c2f483d0297849e98adfb0e49315bf3046 (diff)
-rwxr-xr-xTasks/distribution/install/default/runtest.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/Tasks/distribution/install/default/runtest.sh b/Tasks/distribution/install/default/runtest.sh
index cf01069..15d1f7f 100755
--- a/Tasks/distribution/install/default/runtest.sh
+++ b/Tasks/distribution/install/default/runtest.sh
@@ -92,6 +92,7 @@ SysReport ()
sysmem=$(/usr/bin/free -m | /bin/awk '{if($1=="Mem:") {print $2,"MB"}}')
syscpu=$(/bin/cat /proc/cpuinfo | /bin/grep processor | wc -l)
syslspci=$(/sbin/lspci > $FILEAREA/lspci.log)
+ sysprocmem=$(hostname > $FILEAREA/procmem.log; /bin/cat /proc/meminfo >> $FILEAREA/procmem.log)
if [ -f /etc/fedora-release ]; then
sysrelease=$(/bin/cat /etc/fedora-release)
else
@@ -212,6 +213,12 @@ SysReport ()
FAILURE=TRUE
fi
fi
+
+ # Submit proc meminfo log
+ if [ -e $FILEAREA/procmem.log ]; then
+ rhts_submit_log -S $RESULT_SERVER -T $TESTID -l $FILEAREA/procmem.log
+ fi
+
# Check dmesg log for avc failures
if [ -s $FILEAREA/avcerror.log ]; then
echo "******** SElinux AVC Failures ********" >> $OUTPUTFILE
@@ -247,10 +254,6 @@ SysReport ()
echo "***** Start of Install test *****" > $OUTPUTFILE
-# this is a experimental kernel aggregation collection
-# TURNED OFF
-#KA
-
FILEAREA=/mnt/testarea
/bin/dmesg > $FILEAREA/boot.messages