aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/arm64
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-09-13 13:54:59 +0100
committerWill Deacon <will@kernel.org>2021-09-29 14:40:31 +0100
commit09121ad7186ecd28eb7fca1b22c17f517aaea87f (patch)
tree89564dc991a43a5c6015e13e625dc4051a8c9137 /tools/testing/selftests/arm64
parentselftests: arm64: Use a define for the number of SVE ptrace tests to be run (diff)
downloadlinux-dev-09121ad7186ecd28eb7fca1b22c17f517aaea87f.tar.xz
linux-dev-09121ad7186ecd28eb7fca1b22c17f517aaea87f.zip
selftests: arm64: Don't log child creation as a test in SVE ptrace test
Currently we log the creation of the child process as a test but it's not really relevant to what we're trying to test and can make the output a little confusing so don't do that. Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20210913125505.52619-3-broonie@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/testing/selftests/arm64')
-rw-r--r--tools/testing/selftests/arm64/fp/sve-ptrace.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/testing/selftests/arm64/fp/sve-ptrace.c b/tools/testing/selftests/arm64/fp/sve-ptrace.c
index 7f7ed1c96867..7035f01423b3 100644
--- a/tools/testing/selftests/arm64/fp/sve-ptrace.c
+++ b/tools/testing/selftests/arm64/fp/sve-ptrace.c
@@ -19,7 +19,7 @@
#include "../../kselftest.h"
-#define EXPECTED_TESTS 20
+#define EXPECTED_TESTS 19
/* <linux/elf.h> and <sys/auxv.h> don't like each other, so: */
#ifndef NT_ARM_SVE
@@ -169,8 +169,6 @@ static int do_parent(pid_t child)
if (WIFEXITED(status) || WIFSIGNALED(status))
ksft_exit_fail_msg("Child died unexpectedly\n");
- ksft_test_result(WIFSTOPPED(status), "WIFSTOPPED(%d)\n",
- status);
if (!WIFSTOPPED(status))
goto error;