Skip to content

Commit

Permalink
Merge pull request #935 from jbenet/fix-webui-test
Browse files Browse the repository at this point in the history
sharness/t0110-gateway: fix /s fail on osx
  • Loading branch information
jbenet committed Mar 18, 2015
2 parents 2d67531 + edbca27 commit 1884768
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sharness/t0110-gateway.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1884768

Please sign in to comment.