Check both uarts for the expected "PASS!" string
Change-Id: I4525e4449660a26fe0e9b159e26b9153263d288f
diff --git a/nexus-non-interactive-test.sh b/nexus-non-interactive-test.sh
index f704b2e..ffe195f 100755
--- a/nexus-non-interactive-test.sh
+++ b/nexus-non-interactive-test.sh
@@ -96,7 +96,7 @@
fi
timeout "${LOG_TIMEOUT}" bash -c '
- until grep -q PASS! uart.sc.log ; do
+ until grep -q PASS! uart.sc.log uart.smc.log ; do
echo "Expected log is missing. Wait up to ${LOG_TIMEOUT}s."
sleep "${LOG_CHECK_INTERVAL}"
done' || echo "Time out waiting for PASS! log"
@@ -104,5 +104,5 @@
cat -n uart.sc.log
cat -n uart.smc.log
-grep -q "PASS!" uart.sc.log
+grep -q "PASS!" uart.sc.log uart.smc.log
exit $?