aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/lib/llvm.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/llvm.exp b/test/lib/llvm.exp
index 16c1adc25e..67e6d07c70 100644
--- a/test/lib/llvm.exp
+++ b/test/lib/llvm.exp
@@ -12,7 +12,7 @@ proc execOneLine { test PRS outcome lineno line } {
switch "$code" {
CHILDSTATUS {
set status [lindex $::errorCode 2]
- if { $status ne 0 } {
+ if { $status != 0 } {
set resultmsg "$test: exit($status)$errmsg"
}
}