Set (instead of compare) exresult
Interestingly this accidentally worked because if exresult is true for
both a non-empty string ("PASS") as well as a real True value.
Found by Mark Grassi as part of !906 (merged)
I propose this patch for all branches.