lava-expect: migrate expect into lava-expect scripts

Parent commit enables Lava Interactive Actions into FVP LAVA jobs and
this commit feeds with 'lava expect' strings targeting mainly 'UART0
scripts'.

This work is done in a separate folder, `lava-expect`,
instead of expect with a reason: both expect strings should be
developed in parallel, where the expect strings are either used by
Legacy CI or local development and `lava-expect` strings are intended
for Open CI LAVA testing.

Note that this patch does not migrate all current expect strings, several
are pending as indicated in the list below. Coming patches would cover
these:

* hold_uart.exp
* linux-tpm.exp
* spm-edk2-uart0.exp
* spm-edk2-uart2.exp
* spm-linux-uart0.exp
* spm-optee-sp-uart1.exp
* spm-uart2.exp
* timeout.exp
* timeout_spmin_roxlattables.exp
* timeout_test.exp
* tpm-logs.exp

Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org>
Change-Id: I386be3fb1a73c491f01a27fb05a4215f0e789f26
diff --git a/lava-expect/disable_dyn_auth.inc b/lava-expect/disable_dyn_auth.inc
new file mode 100644
index 0000000..a50a31a
--- /dev/null
+++ b/lava-expect/disable_dyn_auth.inc
@@ -0,0 +1,27 @@
+#
+# Copyright (c) 2021, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+# Script to interact with an TF-A built with Trusted Board Boot
+#
+# This script tries to catch if dynamic authentication of images is enabled
+# during trusted board boot(BL2). The authentication is done using certificates.
+
+expect_string+=('BL1: Booting BL2')
+
+prompt='Disabling authentication of images dynamically'
+# Catch all loading of authentication certificates i.e.,
+# TRUSTED_BOOT_FW_CERT_ID         U(6)
+# TRUSTED_KEY_CERT_ID             U(7)
+# SCP_FW_KEY_CERT_ID              U(8)
+# SOC_FW_KEY_CERT_ID              U(9)
+# TRUSTED_OS_FW_KEY_CERT_ID       U(10)
+# NON_TRUSTED_FW_KEY_CERT_ID      U(11)
+# SCP_FW_CONTENT_CERT_ID          U(12)
+# SOC_FW_CONTENT_CERT_ID          U(13)
+# TRUSTED_OS_FW_CONTENT_CERT_ID   U(14)
+# NON_TRUSTED_FW_CONTENT_CERT_ID  U(15)
+expect_string+=("${prompt};;Loading image id=(6|7|8|9|10|11|12|13|14|15) at address ")
+
+expect_string+=('BL1: Booting BL31')