]> granicus.if.org Git - curl/commitdiff
gopher: fix test case line endings
authorDaniel Stenberg <daniel@haxx.se>
Tue, 24 Aug 2010 21:15:59 +0000 (23:15 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 25 Aug 2010 12:21:25 +0000 (14:21 +0200)
Patches over email very easily lose CRLF line endings in files otherwise
LF-only so I had to put them back where needed.

tests/data/test1200
tests/data/test1201
tests/data/test1202
tests/data/test1203

index c1f4971c3677005f4ab4dcc9470f010b7294de49..94327201aee9ea954552d50d1789dc12c59b9d6a 100644 (file)
@@ -11,9 +11,9 @@ INDEX
 # Server-side
 <reply>
 <datacheck>
-iMenu results          error.host      1
-0Selector      /bar    bar.foo.invalid 70
-.
+iMenu results          error.host      1\r
+0Selector      /bar    bar.foo.invalid 70\r
+.\r
 </datacheck>
 </reply>
 
@@ -34,7 +34,7 @@ gopher://%HOSTIP:%GOPHERPORT
 # Verify data after the test has been "shot"
 <verify>
 <protocol>
-
+\r
 </protocol>
 </verify>
 </testcase>
index 071e4551a76c5a2675522ece09605edef8a7f0bd..bb3ccc5efdaca70910a2043ae3d9785e9f677c62 100644 (file)
@@ -11,9 +11,9 @@ SELECTOR
 # Server-side
 <reply>
 <datacheck>
-iMenu results          error.host      1
-0Selector /selector/SELECTOR   /bar    bar.foo.invalid 70
-.
+iMenu results          error.host      1\r
+0Selector /selector/SELECTOR   /bar    bar.foo.invalid 70\r
+.\r
 </datacheck>
 </reply>
 
@@ -34,7 +34,7 @@ gopher://%HOSTIP:%GOPHERPORT/1/selector/SELECTOR
 # Verify data after the test has been "shot"
 <verify>
 <protocol>
-/selector/SELECTOR
+/selector/SELECTOR\r
 </protocol>
 </verify>
 </testcase>
index 2ab6fcbcb8d2d6329f16b94f7907b512776923ec..8b8502d4bd6d8f9e071dffd0963332dd7d37f577 100644 (file)
@@ -11,10 +11,10 @@ QUERY
 # Server-side
 <reply>
 <datacheck>
-iSearch results                error.host      1
-0Query query succeeded /foo    foo.bar.invalid 70
-0Selector /the/search/engine   /bar    bar.foo.invalid 70
-.
+iSearch results                error.host      1\r
+0Query query succeeded /foo    foo.bar.invalid 70\r
+0Selector /the/search/engine   /bar    bar.foo.invalid 70\r
+.\r
 </datacheck>
 </reply>
 
@@ -35,7 +35,7 @@ gopher://%HOSTIP:%GOPHERPORT/7/the/search/engine?query%20succeeded
 # Verify data after the test has been "shot"
 <verify>
 <protocol>
-/the/search/engine     query succeeded
+/the/search/engine     query succeeded\r
 </protocol>
 </verify>
 </testcase>
index d49c3c817a3a2cffeb8f4d81ffac2a1bd287d5c2..c639512b246cc61e0ae13200aa10296330767434 100644 (file)
@@ -12,9 +12,9 @@ INDEX
 # Server-side
 <reply>
 <datacheck>
-iMenu results          error.host      1
-0Selector      /bar    bar.foo.invalid 70
-.
+iMenu results          error.host      1\r
+0Selector      /bar    bar.foo.invalid 70\r
+.\r
 </datacheck>
 </reply>
 
@@ -35,7 +35,7 @@ Gopher IPv6 index
 # Verify data after the test has been "shot"
 <verify>
 <protocol>
-
+\r
 </protocol>
 </verify>
 </testcase>