summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Burke <jburke@redhat.com>2010-07-12 20:49:58 +0000
committerJeff Burke <jburke@redhat.com>2010-07-12 20:49:58 +0000
commitaa9660c2f483d0297849e98adfb0e49315bf3046 (patch)
treedad48fbb219898fdc5904042e113c23de1b0a876
parent36801b3acd366bbf17d77319c582326330850ac2 (diff)
Add in a special case. It was a request from kernel HWrh-tests-distribution-install-default-1_10-8
-rwxr-xr-xTasks/distribution/install/default/runtest.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tasks/distribution/install/default/runtest.sh b/Tasks/distribution/install/default/runtest.sh
index 8eb8d13..cf01069 100755
--- a/Tasks/distribution/install/default/runtest.sh
+++ b/Tasks/distribution/install/default/runtest.sh
@@ -133,6 +133,7 @@ SysReport ()
sysderror7=$(/bin/grep WARNING: $FILEAREA/boot.messages >> $FILEAREA/derror.log)
sysderror8=$(/bin/grep -i "command not found" $FILEAREA/boot.messages >> $FILEAREA/derror.log)
sysderror9=$(/bin/cat $FILEAREA/boot.messages | grep avc: | grep -v granted >> $FILEAREA/avcerror.log)
+ sysderror10=$(/bin/grep -ci "PAT not supported by CPU" $FILEAREA/boot.messages >> $FILEAREA/derror.log)
if [ -e /root/install.log ]; then
cp /root/install.log $FILEAREA/install.log
sysierror=$(/bin/grep -i error: $FILEAREA/install.log >> $FILEAREA/ierror.log)
@@ -207,6 +208,9 @@ SysReport ()
echo "******** Potential Issues dmesg ********" >> $OUTPUTFILE
/bin/cat $FILEAREA/derror.log >> $OUTPUTFILE
rhts_submit_log -S $RESULT_SERVER -T $TESTID -l $FILEAREA/boot.messages
+ if [ $sysderror10 -ne 0 ]; then
+ FAILURE=TRUE
+ fi
fi
# Check dmesg log for avc failures
if [ -s $FILEAREA/avcerror.log ]; then