From a1b650ad7be4f8ec2fb486244f2f303434d43dfc Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 21 Jun 2007 14:23:38 +0000 Subject: =?UTF-8?q?Gerrit=20Bruchh=E4user=20pointed=20out=20a=20warning=20?= =?UTF-8?q?that=20the=20Intel(R)=20Thread=20Checker=20tool=20reports=20and?= =?UTF-8?q?=20it=20was=20indeed=20a=20legitimate=20one=20and=20it=20is=20o?= =?UTF-8?q?ne=20fixed.=20It=20was=20a=20use=20of=20a=20share=20without=20d?= =?UTF-8?q?oing=20the=20proper=20locking=20first.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/data/test506 | 68 +++++++++++++++++++++++++++++------------------------- 1 file changed, 37 insertions(+), 31 deletions(-) (limited to 'tests/data/test506') diff --git a/tests/data/test506 b/tests/data/test506 index 1d658f3fa..65a2758d5 100644 --- a/tests/data/test506 +++ b/tests/data/test506 @@ -90,60 +90,66 @@ lock: dns : 16 unlock: dns : 17 lock: cookie : 18 unlock: cookie : 19 -*** run 2 -CURLOPT_SHARE lock: share : 20 unlock: share : 21 +*** run 2 +CURLOPT_SHARE +lock: share : 22 +unlock: share : 23 PERFORM -lock: dns : 22 -unlock: dns : 23 lock: dns : 24 unlock: dns : 25 -lock: cookie : 26 -unlock: cookie : 27 +lock: dns : 26 +unlock: dns : 27 lock: cookie : 28 unlock: cookie : 29 lock: cookie : 30 unlock: cookie : 31 +lock: cookie : 32 +unlock: cookie : 33 run 2: set cookie 4 and 5 -lock: dns : 32 -unlock: dns : 33 -CLEANUP lock: dns : 34 unlock: dns : 35 -lock: cookie : 36 -unlock: cookie : 37 +CLEANUP +lock: dns : 36 +unlock: dns : 37 +lock: cookie : 38 +unlock: cookie : 39 +lock: share : 40 +unlock: share : 41 *** run 3 CURLOPT_SHARE -lock: share : 38 -unlock: share : 39 +lock: share : 42 +unlock: share : 43 CURLOPT_COOKIEJAR PERFORM -lock: dns : 40 -unlock: dns : 41 -lock: dns : 42 -unlock: dns : 43 -lock: cookie : 44 -unlock: cookie : 45 -lock: cookie : 46 -unlock: cookie : 47 +lock: dns : 44 +unlock: dns : 45 +lock: dns : 46 +unlock: dns : 47 lock: cookie : 48 unlock: cookie : 49 +lock: cookie : 50 +unlock: cookie : 51 +lock: cookie : 52 +unlock: cookie : 53 run 3: overwrite cookie 1 and 4 -lock: dns : 50 -unlock: dns : 51 +lock: dns : 54 +unlock: dns : 55 try SHARE_CLEANUP... -lock: share : 52 -unlock: share : 53 +lock: share : 56 +unlock: share : 57 SHARE_CLEANUP failed, correct CLEANUP -lock: dns : 54 -unlock: dns : 55 -lock: cookie : 56 -unlock: cookie : 57 +lock: dns : 58 +unlock: dns : 59 +lock: cookie : 60 +unlock: cookie : 61 +lock: share : 62 +unlock: share : 63 SHARE_CLEANUP -lock: share : 58 -unlock: share : 59 +lock: share : 64 +unlock: share : 65 GLOBAL_CLEANUP -- cgit v1.2.3