style(expect): normalize debugging messages
A minor style cleanup to the messages printed by the Expect scripts to
make them a bit more consistent and descriptive.
Signed-off-by: Chris Kay <chris.kay@arm.com>
Change-Id: Ibd8ccb4423bd5aaeffc99c2f3602123794dc6200
diff --git a/expect/spm-edk2-uart0.exp b/expect/spm-edk2-uart0.exp
index ce854df..843372e 100644
--- a/expect/spm-edk2-uart0.exp
+++ b/expect/spm-edk2-uart0.exp
@@ -16,13 +16,13 @@
# EDK2 section
expect {
"UEFI firmware" {
- puts "<<EDK2 starting>>"
+ message "EDK2 starting"
}
}
expect {
"UEFI Interactive Shell" {
- puts "<<EDK2 shell starting>>"
+ message "EDK2 shell starting"
}
}
@@ -41,19 +41,19 @@
expect {
"FS0:" {
send "UefiInfo.efi\r"
- puts "<<Loading UEFI application>>"
+ message "Loading UEFI application"
}
}
expect {
-re "Loading driver at .* UefiInfo.efi" {
- puts "<<UEFI application is being loaded>>"
+ message "UEFI application is being loaded"
}
}
expect {
"FS0:" {
- puts "<<UEFI application loaded>>"
+ message "UEFI application loaded"
}
}