summaryrefslogtreecommitdiff
path: root/tests/data/test1160
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-11-22 13:24:02 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-11-23 14:50:51 +0100
commita52e46f3900fb02fd45423c35d970703978fe6ff (patch)
treeea4e0d5c812b1133514a8eedee01b533f0281abd /tests/data/test1160
parent2e496108534ed20c82cf96f77443e81605f78f92 (diff)
downloadcurl-a52e46f3900fb02fd45423c35d970703978fe6ff.tar.gz
cookies: create the cookiejar even if no cookies to save
Important for when the file is going to be read again and thus must not contain old contents! Adds test 327 to verify. Reported-by: daboul on github Fixes #3299 Closes #3300
Diffstat (limited to 'tests/data/test1160')
-rw-r--r--tests/data/test11606
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/data/test1160 b/tests/data/test1160
index 26a758c4e..3fe689e96 100644
--- a/tests/data/test1160
+++ b/tests/data/test1160
@@ -43,7 +43,11 @@ Host: %HOSTIP:%HTTPPORT
Accept: */*
</protocol>
-<file name="log/cookies1160.txt">
+<file name="log/cookies1160.txt" mode="text">
+# Netscape HTTP Cookie File
+# https://curl.haxx.se/docs/http-cookies.html
+# This file was generated by libcurl! Edit at your own risk.
+
</file>
</verify>
</testcase>