diff options
author | Dean Nelson <dnelson@redhat.com> | 2009-09-17 14:23:16 +0200 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2009-09-17 14:23:16 +0200 |
commit | f0a9b3da8cd1f5afdf8a4ae7a6de2353f3a1631c (patch) | |
tree | 4b59fa956a917a4acc7261460ca40f1860a4c89d | |
parent | 40ef8bac5cf244fe62921cdaa918ab6831090db0 (diff) | |
download | mce-test-f0a9b3da8cd1f5afdf8a4ae7a6de2353f3a1631c.tar.gz |
loop-mce-test: Exit with error code on failure
Signed-off-by: Andi Kleen <ak@linux.intel.com>
-rw-r--r-- | tools/loop-mce-test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/loop-mce-test b/tools/loop-mce-test index d7434f1..5a861c8 100644 --- a/tools/loop-mce-test +++ b/tools/loop-mce-test @@ -30,7 +30,7 @@ while [ 1 ] ; do sed -e'/gcov/d' $ROOT/results/simple/result | grep "Fail" > /dev/null if [ $? = 0 ] ; then echo "failed on loop $i" - exit 0 + exit 1 fi done |