Skip to content

Commit

Permalink
verify-kernel-boot-log.sh hotfix: do not override EXIT handler!
Browse files Browse the repository at this point in the history
Fixes commit 7c2ede0 ("Explicitly invoke start_test() in every
test-case/*.sh") which already did the TODO but _without_ removing
_start_test(). We want one or the other, not a strange and unpredictable
mix of both!

A future commit will actually replace `start_test()`.

Signed-off-by: Marc Herbert <[email protected]>
  • Loading branch information
marc-hb committed May 7, 2024
1 parent 7c2ede0 commit 8ab2af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-case/verify-kernel-boot-log.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ source "$(dirname "${BASH_SOURCE[0]}")"/../case-lib/lib.sh

start_test
# TODO: replace start_test with this:
trap 'print_test_result_exit $?' EXIT
# trap 'print_test_result_exit $?' EXIT
# https://github.com/thesofproject/sof-test/issues/1112

main()
Expand Down

0 comments on commit 8ab2af8

Please sign in to comment.