aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-07-25 12:08:17 +0200
committerHampusM <hampus@hampusmat.com>2021-07-25 12:08:17 +0200
commita5afb39803e70a6117965760f50615aaba82f84a (patch)
treef98f85d799cba49e67d6935a285a0910c4bfa7a3
parentf3ef0dd8f247f06f016fe78012fa9f2753c96479 (diff)
Added curl params in the git-upload-pack git http unit test
-rw-r--r--test/unit/git-http.unit.test.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/git-http.unit.test.ts b/test/unit/git-http.unit.test.ts
index 92feefc..b8a0917 100644
--- a/test/unit/git-http.unit.test.ts
+++ b/test/unit/git-http.unit.test.ts
@@ -79,7 +79,8 @@ describe("Git HTTP backend", () => {
const res = new Promise((resolve: (value: Record<string, Buffer>) => void, reject: (value: ExecException) => void) => {
const curl_params = [
"-X POST",
- "-s",
+ "-sS",
+ "-f",
"-H \"Content-Type: application/x-git-upload-pack-request\"",
"-T -"
].join(" ");