Skip to content
Unverified Commit 00899eba authored by Michael Jeanson's avatar Michael Jeanson Committed by Sam James
Browse files

x86/cet: fix shadow stack test scripts



Some shadow stack test scripts use the '==' operator with the 'test'
command to validate exit codes resulting in the following error:

  sysdeps/x86_64/tst-shstk-legacy-1e.sh: 31: test: 139: unexpected operator

The '==' operator is invalid for the 'test' command, use '-eq' like the
previous call to 'test'.

Signed-off-by: default avatarMichael Jeanson <mjeanson@efficios.com>
Reviewed-by: default avatarH.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit 155bb9d0)
parent 6ade91c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment