浏览代码

Fix jetty-hello-web test

Mike Dillon 10 年之前
父节点
当前提交
91edadf4bb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/tests/jetty-hello-web/run.sh

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

@@ -27,7 +27,7 @@ _request() {
 }
 }
 
 
 # Make sure that Jetty is listening on port 8080
 # Make sure that Jetty is listening on port 8080
-. "$dir/../../retry.sh" --tries 40 --sleep 0.25 '[ "$(_request GET / --output /dev/null || echo $?)" = 7 ]'
+. "$dir/../../retry.sh" --tries 40 --sleep 0.25 '[ "$(_request GET / --output /dev/null || echo $?)" != 7 ]'
 
 
 # Check that we can request /index.jsp with no params
 # Check that we can request /index.jsp with no params
 [ "$(_request GET "/" | tail -1)" = "null" ]
 [ "$(_request GET "/" | tail -1)" = "null" ]