lava-expect: Rename to expect-lava
To sort together (in directory listings, etc.) with the original expect/
directory and recently added expect-post/ directory. That will make
relationship between them clearer and hopefully will help avoid
mistakes/omissions (e.g., any change done to expect/ should have a
corresponding change in expect-lava/ or expect-post/, and all 3
dirs will be right on the eyes / at the fingertips to make that
hard to forget).
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: I5505f8051ef98271062edd7f7e796833643ea2ac
diff --git a/expect-lava/spm-edk2-uart0.exp b/expect-lava/spm-edk2-uart0.exp
new file mode 100644
index 0000000..c914cc6
--- /dev/null
+++ b/expect-lava/spm-edk2-uart0.exp
@@ -0,0 +1,25 @@
+#
+# Copyright (c) 2021 Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+# Expect script for Trusted Firmware + EDK2 UART0
+#
+# Refer to handle-arguments.inc for the list of parameters.
+#
+
+# Trusted Firmware boot section
+source $ci_root/expect-lava/trusted-firmware.inc
+
+# EDK2 section
+expect_string+=('i;UEFI firmware')
+
+expect_string+=('i;UEFI Interactive Shell')
+
+expect_string+=('i;any other key to continue.')
+
+expect_string+=('i;Shell>;;;\r')
+
+expect_string+=('i;FS0:;;;fs0:\r')
+
+expect_string+=('i;FS0:;Loading driver at .* UefiInfo.efi;;UefiInfo.efi\r')