Commit 84b8d6c9 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Shuah Khan
Browse files

selftests/timens: Print TAP headers

The TAP specification requires that the output begins with a header line.
These headers lines are missing in the timens tests.

Print such a line.

Link: https://lore.kernel.org/r/20250502-selftests-timens-fixes-v1-1-fb517c76f04d@linutronix.de


Signed-off-by: default avatarThomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: default avatarMuhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 11f6dcf7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -115,6 +115,8 @@ int main(int argc, char *argv[])
{
	int ret, nsfd;

	ksft_print_header();

	nscheck();

	ksft_set_plan(4);
+2 −0
Original line number Diff line number Diff line
@@ -36,6 +36,8 @@ int main(int argc, char *argv[])
		return 0;
	}

	ksft_print_header();

	nscheck();

	ksft_set_plan(1);
+2 −0
Original line number Diff line number Diff line
@@ -66,6 +66,8 @@ int main(int argc, char *argv[])
	pid_t pid;
	struct timespec mtime_now;

	ksft_print_header();

	nscheck();

	ksft_set_plan(2);
+2 −0
Original line number Diff line number Diff line
@@ -67,6 +67,8 @@ int main(int argc, char *argv[])
	time_t offset = 10;
	int nsfd;

	ksft_print_header();

	ksft_set_plan(8);

	fill_function_pointers();
+2 −0
Original line number Diff line number Diff line
@@ -180,6 +180,8 @@ int main(int argc, char *argv[])
{
	int ret = 0;

	ksft_print_header();

	nscheck();

	ksft_set_plan(2);
Loading