Просмотр исходного кода

Merge pull request #1004 from appropriate/jetty-hello-web-fix

Specify "curl" command explicitly in jetty-hello-web
yosifkit 10 лет назад
Родитель
Сommit
e2d74b5af0
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      test/tests/jetty-hello-web/run.sh

+ 2 - 2
test/tests/jetty-hello-web/run.sh

@@ -22,8 +22,8 @@ _request() {
 
 	local url="${2#/}"
 
-	docker run --rm -i --link "$cid":jetty \
-		"$clientImage" -fsSL -X"$method" "http://jetty:8080/$url"
+	docker run --rm -i --link "$cid":jetty "$clientImage" \
+		curl -fsSL -X"$method" "http://jetty:8080/$url"
 }
 
 # Check that we can request /index.jsp with no params