expect-post/spm-cactus-sp-uart1.exp: Conversion of the expect/ script

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: I6c36dca40ce0674e55cc92e5f1f2b0184cde962d
diff --git a/expect-post/spm-cactus-sp-uart1.exp b/expect-post/spm-cactus-sp-uart1.exp
new file mode 100755
index 0000000..1a657c3
--- /dev/null
+++ b/expect-post/spm-cactus-sp-uart1.exp
@@ -0,0 +1,21 @@
+#!/usr/bin/env python3
+#
+# Copyright (c) 2021, Linaro Limited
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+import sys
+
+
+found = False
+
+with open(sys.argv[1]) as f:
+    for l in f:
+        if "Booting Secure Partition" in l:
+            found = True
+
+if found:
+    sys.exit(0)
+else:
+    sys.exit(1)