Commit 09121ad7 authored by Mark Brown's avatar Mark Brown Committed by Will Deacon
Browse files

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: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210913125505.52619-3-broonie@kernel.org


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 78d2d816
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;