summaryrefslogtreecommitdiff
path: root/tests/data/test506
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-06-21 14:23:38 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-06-21 14:23:38 +0000
commita1b650ad7be4f8ec2fb486244f2f303434d43dfc (patch)
tree9a9b01cca304646e7af6e23a0222671fe0922d0e /tests/data/test506
parentd978f85d553686714ce408e90280cbcce692f5d4 (diff)
downloadcurl-a1b650ad7be4f8ec2fb486244f2f303434d43dfc.tar.gz
Gerrit Bruchhäuser pointed out a warning that the Intel(R) Thread Checker
tool reports and it was indeed a legitimate one and it is one fixed. It was a use of a share without doing the proper locking first.
Diffstat (limited to 'tests/data/test506')
-rw-r--r--tests/data/test50668
1 files changed, 37 insertions, 31 deletions
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 <Pigs in space>: 16
unlock: dns <Pigs in space>: 17
lock: cookie <Pigs in space>: 18
unlock: cookie <Pigs in space>: 19
-*** run 2
-CURLOPT_SHARE
lock: share <Pigs in space>: 20
unlock: share <Pigs in space>: 21
+*** run 2
+CURLOPT_SHARE
+lock: share <Pigs in space>: 22
+unlock: share <Pigs in space>: 23
PERFORM
-lock: dns <Pigs in space>: 22
-unlock: dns <Pigs in space>: 23
lock: dns <Pigs in space>: 24
unlock: dns <Pigs in space>: 25
-lock: cookie <Pigs in space>: 26
-unlock: cookie <Pigs in space>: 27
+lock: dns <Pigs in space>: 26
+unlock: dns <Pigs in space>: 27
lock: cookie <Pigs in space>: 28
unlock: cookie <Pigs in space>: 29
lock: cookie <Pigs in space>: 30
unlock: cookie <Pigs in space>: 31
+lock: cookie <Pigs in space>: 32
+unlock: cookie <Pigs in space>: 33
run 2: set cookie 4 and 5
-lock: dns <Pigs in space>: 32
-unlock: dns <Pigs in space>: 33
-CLEANUP
lock: dns <Pigs in space>: 34
unlock: dns <Pigs in space>: 35
-lock: cookie <Pigs in space>: 36
-unlock: cookie <Pigs in space>: 37
+CLEANUP
+lock: dns <Pigs in space>: 36
+unlock: dns <Pigs in space>: 37
+lock: cookie <Pigs in space>: 38
+unlock: cookie <Pigs in space>: 39
+lock: share <Pigs in space>: 40
+unlock: share <Pigs in space>: 41
*** run 3
CURLOPT_SHARE
-lock: share <Pigs in space>: 38
-unlock: share <Pigs in space>: 39
+lock: share <Pigs in space>: 42
+unlock: share <Pigs in space>: 43
CURLOPT_COOKIEJAR
PERFORM
-lock: dns <Pigs in space>: 40
-unlock: dns <Pigs in space>: 41
-lock: dns <Pigs in space>: 42
-unlock: dns <Pigs in space>: 43
-lock: cookie <Pigs in space>: 44
-unlock: cookie <Pigs in space>: 45
-lock: cookie <Pigs in space>: 46
-unlock: cookie <Pigs in space>: 47
+lock: dns <Pigs in space>: 44
+unlock: dns <Pigs in space>: 45
+lock: dns <Pigs in space>: 46
+unlock: dns <Pigs in space>: 47
lock: cookie <Pigs in space>: 48
unlock: cookie <Pigs in space>: 49
+lock: cookie <Pigs in space>: 50
+unlock: cookie <Pigs in space>: 51
+lock: cookie <Pigs in space>: 52
+unlock: cookie <Pigs in space>: 53
run 3: overwrite cookie 1 and 4
-lock: dns <Pigs in space>: 50
-unlock: dns <Pigs in space>: 51
+lock: dns <Pigs in space>: 54
+unlock: dns <Pigs in space>: 55
try SHARE_CLEANUP...
-lock: share <Pigs in space>: 52
-unlock: share <Pigs in space>: 53
+lock: share <Pigs in space>: 56
+unlock: share <Pigs in space>: 57
SHARE_CLEANUP failed, correct
CLEANUP
-lock: dns <Pigs in space>: 54
-unlock: dns <Pigs in space>: 55
-lock: cookie <Pigs in space>: 56
-unlock: cookie <Pigs in space>: 57
+lock: dns <Pigs in space>: 58
+unlock: dns <Pigs in space>: 59
+lock: cookie <Pigs in space>: 60
+unlock: cookie <Pigs in space>: 61
+lock: share <Pigs in space>: 62
+unlock: share <Pigs in space>: 63
SHARE_CLEANUP
-lock: share <Pigs in space>: 58
-unlock: share <Pigs in space>: 59
+lock: share <Pigs in space>: 64
+unlock: share <Pigs in space>: 65
GLOBAL_CLEANUP
</stdout>
<stderr>