1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-26 07:28:20 +08:00

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.
This commit is contained in:
Juan Batiz-Benet
2015-03-17 06:04:33 -07:00
parent 8fa9252fb1
commit edbca27019

View File

@ -68,11 +68,11 @@ test_expect_success "GET invalid path errors" '
'
test_expect_success "GET /webui returns code expected" '
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"
test_curl_resp_http_code "http://127.0.0.1:$apiport/webui" "HTTP/1.1 302 Found" "HTTP/1.1 301 Moved Permanently"
'
test_expect_success "GET /webui/ returns code expected" '
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"
test_curl_resp_http_code "http://127.0.0.1:$apiport/webui/" "HTTP/1.1 302 Found" "HTTP/1.1 301 Moved Permanently"
'
test_kill_ipfs_daemon