summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Burke <jburke@redhat.com>2010-07-26 12:28:29 +0000
committerJeff Burke <jburke@redhat.com>2010-07-26 12:28:29 +0000
commit9bc000ce38d70ea373c44276f45a923af92ffe18 (patch)
treece6e9a0b34ea7fe39bdd77a894ba71a558a2dafb
parent91db1ffcc26495d5ca84ac6ef9bc4edc942d48f8 (diff)
-rwxr-xr-xTasks/distribution/install/default/runtest.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tasks/distribution/install/default/runtest.sh b/Tasks/distribution/install/default/runtest.sh
index 15d1f7f..5af0298 100755
--- a/Tasks/distribution/install/default/runtest.sh
+++ b/Tasks/distribution/install/default/runtest.sh
@@ -134,7 +134,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)
+ sysderror10=$(/bin/grep -ci "PAT not supported by CPU" $FILEAREA/boot.messages)
if [ -e /root/install.log ]; then
cp /root/install.log $FILEAREA/install.log
sysierror=$(/bin/grep -i error: $FILEAREA/install.log >> $FILEAREA/ierror.log)
@@ -209,7 +209,7 @@ 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
+ if [ "$sysderror10" -ne 0 ]; then
FAILURE=TRUE
fi
fi