summaryrefslogtreecommitdiff
path: root/tools/testing/vsock/util.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-23 11:18:52 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-23 11:18:52 +0100
commit85612fa562c162f5c255fee5bbfbb96544b2721a (patch)
tree3b10badfad8839ecae0dcfe91103295144d9dbe0 /tools/testing/vsock/util.c
parent694acfd409e7b6a67869caa31d90d69d7ea3543f (diff)
parentabf529abd660d8ccad46dd8c8f20e93db6134f5f (diff)
Merge v6.12.67linux-rolling-lts
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing/vsock/util.c')
-rw-r--r--tools/testing/vsock/util.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/testing/vsock/util.c b/tools/testing/vsock/util.c
index a3d448a075e3..8a899a9fc9a9 100644
--- a/tools/testing/vsock/util.c
+++ b/tools/testing/vsock/util.c
@@ -472,6 +472,18 @@ void run_tests(const struct test_case *test_cases,
printf("ok\n");
}
+
+ printf("All tests have been executed. Waiting other peer...");
+ fflush(stdout);
+
+ /*
+ * Final full barrier, to ensure that all tests have been run and
+ * that even the last one has been successful on both sides.
+ */
+ control_writeln("COMPLETED");
+ control_expectln("COMPLETED");
+
+ printf("ok\n");
}
void list_tests(const struct test_case *test_cases)