ffa_test_driver.exp: Add failure clauses

To avoid failing test hanging until timeout. The issue seen at
https://tf.validation.linaro.org/scheduler/job/1661221 :

Waiting for 'Test: Memory Send in Fragments.'
[    3.410139] Failed to send the memory region drivers/firmware/arm_ffa/test_driver_ffa.c:199
[    3.410399] Status: Completed Test Case: 3
[    3.410520] TEST CASE (3) FAILED with: -22!!

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: Icfa7218a24bb1878f8681fd551bdaca970aca3e7
diff --git a/expect-lava/ffa_test_driver.exp b/expect-lava/ffa_test_driver.exp
index 497ff45..a8cc67b 100644
--- a/expect-lava/ffa_test_driver.exp
+++ b/expect-lava/ffa_test_driver.exp
@@ -3,6 +3,8 @@
  #
  # SPDX-License-Identifier: BSD-3-Clause
 
+failures='TEST CASE.* FAILED'
+
 expect_string+=('i;buildroot login:')
 expect_string+=("i;;;;\n")
 expect_string+=("i;;;;root")
@@ -13,8 +15,8 @@
 expect_string+=("i;;;;\n")
 expect_string+=('i;Test: Echo Message to SP')
 expect_string+=('i;Test: Message Relay vis SP to EL3 LSP.')
-expect_string+=('i;Test: Memory Send.')
-expect_string+=('i;Test: Memory Send in Fragments.')
+expect_string+=("i;Test: Memory Send.;;${failures}")
+expect_string+=("i;Test: Memory Send in Fragments.;;${failures}")
 expect_string+=('i;Test: Memory Lend.')
 expect_string+=('i;Test: Memory Lend in Fragments.')
 expect_string+=('i;Test: Memory Send with Multiple Endpoints.')