Make the HPL script return the right error codes from HPL exit
Jason D. Clinton [Mon, 14 Jul 2008 22:37:03 +0000 (17:37 -0500)]
etc/breakin/burnin/hpl

index 8cf5483..c9857aa 100755 (executable)
@@ -83,9 +83,6 @@ else
        echo "Binary for this host CPU variant is not available."
 fi
 
-sleep 1
-killall ${BINARY} > /dev/null 2>&1
-
 if [ "$?" -ne 0 ]
 then
        cat /tmp/hpl.log > /errors/hpl.log
@@ -98,5 +95,7 @@ else
 fi
 done
 
+sleep 1
+killall ${BINARY} > /dev/null 2>&1
 sleep 5