Skip to content

Commit

Permalink
x86_fsp: test_qemu.sh: allow grep to return error when checking output
Browse files Browse the repository at this point in the history
  • Loading branch information
rizlik committed Apr 29, 2024
1 parent 943edf9 commit 53d012f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/scripts/x86_fsp/qemu/test_qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ sleep 5
# close qemu
timeout 5 echo 'quit' > /tmp/qemu_mon.in
output=$(cat /tmp/qemu_output)
set +e
app=$(echo "$output" | grep -m 1 "wolfBoot QEMU x86 FSP test app")
if [ -n "$app" ]; then
echo "Found 'wolfBoot QEMU x86 FSP test app' in the output."
Expand Down

0 comments on commit 53d012f

Please sign in to comment.