curl: fix line endings in patched test 2005
This commit is contained in:
@@ -23,7 +23,7 @@ Closes #15768
|
||||
create mode 100644 tests/data/test2005
|
||||
|
||||
diff --git a/lib/netrc.c b/lib/netrc.c
|
||||
index cbc86484f6f..b517c1dfab6 100644
|
||||
index cbc86484f6f8..b517c1dfab67 100644
|
||||
--- a/lib/netrc.c
|
||||
+++ b/lib/netrc.c
|
||||
@@ -267,7 +267,8 @@ static int parsenetrc(struct store_netrc *store,
|
||||
@@ -48,7 +48,7 @@ index cbc86484f6f..b517c1dfab6 100644
|
||||
keyword = NONE;
|
||||
found = 0;
|
||||
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
|
||||
index bd9a0bbaaff..105108309d5 100644
|
||||
index bd9a0bbaaff1..105108309d52 100644
|
||||
--- a/tests/data/Makefile.am
|
||||
+++ b/tests/data/Makefile.am
|
||||
@@ -238,7 +238,7 @@ test1941 test1942 test1943 test1944 test1945 test1946 test1947 test1948 \
|
||||
@@ -62,7 +62,7 @@ index bd9a0bbaaff..105108309d5 100644
|
||||
test2024 test2025 test2026 test2027 test2028 test2029 test2030 test2031 \
|
||||
diff --git a/tests/data/test2005 b/tests/data/test2005
|
||||
new file mode 100644
|
||||
index 00000000000..91e256298a4
|
||||
index 000000000000..91e256298a40
|
||||
--- /dev/null
|
||||
+++ b/tests/data/test2005
|
||||
@@ -0,0 +1,55 @@
|
||||
@@ -112,12 +112,12 @@ index 00000000000..91e256298a4
|
||||
+# Verify data after the test has been "shot"
|
||||
+<verify>
|
||||
+<protocol>
|
||||
+GET / HTTP/1.1
|
||||
+Host: %HOSTIP:%HTTPPORT
|
||||
+Authorization: Basic %b64[:5up3r53cr37]b64%
|
||||
+User-Agent: curl/%VERSION
|
||||
+Accept: */*
|
||||
+
|
||||
+GET / HTTP/1.1
|
||||
+Host: %HOSTIP:%HTTPPORT
|
||||
+Authorization: Basic %b64[:5up3r53cr37]b64%
|
||||
+User-Agent: curl/%VERSION
|
||||
+Accept: */*
|
||||
+
|
||||
+</protocol>
|
||||
+</verify>
|
||||
+</testcase>
|
||||
|
||||
Reference in New Issue
Block a user