summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-12-20 18:44:20 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-12-21 10:52:41 +0100
commita7696c73436f643d5d31ce0c3d48d282c79f4b5d (patch)
treec01a633a45e06f199eba2cd295b60725af7800c0 /tests
parente1a4647a42b901d88f9629ce98ff56960e342a74 (diff)
downloadcurl-a7696c73436f643d5d31ce0c3d48d282c79f4b5d.tar.gz
curl: add --create-file-mode [mode]
This option sets the (octal) mode to use for the remote file when one is created, using the SFTP, SCP or FILE protocols. When not set, the default is 0644. Closes #6244
Diffstat (limited to 'tests')
-rw-r--r--tests/data/test14631
-rw-r--r--tests/data/test14641
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/data/test1463 b/tests/data/test1463
index 7e1fe9b84..224bedab4 100644
--- a/tests/data/test1463
+++ b/tests/data/test1463
@@ -37,6 +37,7 @@ curl file category --help
<stdout mode="text">
Usage: curl [options...] <url>
file: FILE protocol options
+ --create-file-mode File mode for created files
-I, --head Show document info only
-r, --range <range> Retrieve only the bytes within RANGE
</stdout>
diff --git a/tests/data/test1464 b/tests/data/test1464
index 167e80d6d..774147517 100644
--- a/tests/data/test1464
+++ b/tests/data/test1464
@@ -37,6 +37,7 @@ curl file category --help with lower/upper mix
<stdout mode="text">
Usage: curl [options...] <url>
file: FILE protocol options
+ --create-file-mode File mode for created files
-I, --head Show document info only
-r, --range <range> Retrieve only the bytes within RANGE
</stdout>