From edbca270194c168f528867ecdff608ab9f53ea95 Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet Date: Tue, 17 Mar 2015 06:04:33 -0700 Subject: [PATCH] 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. --- test/sharness/t0110-gateway.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/sharness/t0110-gateway.sh b/test/sharness/t0110-gateway.sh index a677ee5ae58..ac421d652a5 100755 --- a/test/sharness/t0110-gateway.sh +++ b/test/sharness/t0110-gateway.sh @@ -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