sharness/t0110-gateway: fix /s fail on osx
the test cases were failing for me on osx. Removing /s fixes them. It should be fine not to check the /s.
Juan Batiz-Benet committed
Mar 17, 2015 at 06:04 UTC
edbca270194c168f528867ecdff608ab9f53ea95
1 file changed
+2
-2
test/sharness/t0110-gateway.sh
+2
-2
@@ -68,11 +68,11 @@ test_expect_success "GET invalid path errors" '
68
'
69
70
test_expect_success "GET /webui returns code expected" '
71
- test_curl_resp_http_code "http://127.0.0.1:$apiport/webui" "HTTP/1.1 302 Found\s" "HTTP/1.1 301 Moved Permanently\s"
71
+ test_curl_resp_http_code "http://127.0.0.1:$apiport/webui" "HTTP/1.1 302 Found" "HTTP/1.1 301 Moved Permanently"
72
'
73
74
test_expect_success "GET /webui/ returns code expected" '
75
- test_curl_resp_http_code "http://127.0.0.1:$apiport/webui/" "HTTP/1.1 302 Found\s" "HTTP/1.1 301 Moved Permanently\s"
75
+ test_curl_resp_http_code "http://127.0.0.1:$apiport/webui/" "HTTP/1.1 302 Found" "HTTP/1.1 301 Moved Permanently"
76
'
77
78
test_kill_ipfs_daemon