Rebase against 2deb8c2825afcb88a9f106b73aa1f4da9253fb87.

This commit is contained in:
Zebediah Figura
2021-04-30 17:50:37 -05:00
parent 4d8896cc35
commit 7d496bf02c
10 changed files with 134 additions and 132 deletions

View File

@@ -1,4 +1,4 @@
From 22b05332c3dc04e44327931a307e899d9a59d074 Mon Sep 17 00:00:00 2001
From c076b2fef32e83de8e1ee2bee7a4a4ad997fcfff Mon Sep 17 00:00:00 2001
From: Zebediah Figura <z.figura12@gmail.com>
Date: Tue, 26 Jun 2018 18:44:44 -0500
Subject: [PATCH] kernel32/tests: Zigzag test.
@@ -9,11 +9,11 @@ The primary function is to check for races. The secondary function is to measure
1 file changed, 79 insertions(+)
diff --git a/dlls/kernel32/tests/sync.c b/dlls/kernel32/tests/sync.c
index 42184d22517..82a236879e7 100644
index 7df1b1406b4..666318cb2c3 100644
--- a/dlls/kernel32/tests/sync.c
+++ b/dlls/kernel32/tests/sync.c
@@ -3123,6 +3123,84 @@ static void test_QueueUserAPC(void)
CloseHandle(thread);
@@ -3135,6 +3135,84 @@ static void test_QueueUserAPC(void)
ok( ret == WAIT_OBJECT_0, "SleepEx returned %u\n", ret);
}
+static int zigzag_state, zigzag_count[2], zigzag_stop;
@@ -97,7 +97,7 @@ index 42184d22517..82a236879e7 100644
START_TEST(sync)
{
char **argv;
@@ -3188,5 +3266,6 @@ START_TEST(sync)
@@ -3200,5 +3278,6 @@ START_TEST(sync)
test_srwlock_example();
test_alertable_wait();
test_apc_deadlock();
@@ -105,5 +105,5 @@ index 42184d22517..82a236879e7 100644
test_crit_section();
}
--
2.30.1
2.30.2