[COMMIT osv-apps master] changed test.sh of http apps to use renamed test python script

4 views
Skip to first unread message

Commit Bot

unread,
Apr 20, 2020, 1:09:39 AM4/20/20
to osv...@googlegroups.com, Waldemar Kozaczuk
From: Waldemar Kozaczuk <jwkoz...@gmail.com>
Committer: Waldemar Kozaczuk <jwkoz...@gmail.com>
Branch: master

changed test.sh of http apps to use renamed test python script

Signed-off-by: Waldemar Kozaczuk <jwkoz...@gmail.com>

---
diff --git a/elasticsearch/test.sh b/elasticsearch/test.sh
--- a/elasticsearch/test.sh
+++ b/elasticsearch/test.sh
@@ -3,7 +3,7 @@
THIS_DIR=$(readlink -f $(dirname $0))
CMDLINE=$($THIS_DIR/../cmdline.sh $THIS_DIR)

-$THIS_DIR/../../scripts/tests/test_http_app_with_curl_and_ab.py \
+$THIS_DIR/../../scripts/tests/test_http_app.py \
-e "$CMDLINE" \
--guest_port 9200 \
--host_port 9200 \
diff --git a/golang-httpserver/test.sh b/golang-httpserver/test.sh
--- a/golang-httpserver/test.sh
+++ b/golang-httpserver/test.sh
@@ -3,7 +3,7 @@
THIS_DIR=$(readlink -f $(dirname $0))
CMDLINE=$($THIS_DIR/../cmdline.sh $THIS_DIR)

-$THIS_DIR/../../scripts/tests/test_http_app_with_curl_and_ab.py \
+$THIS_DIR/../../scripts/tests/test_http_app.py \
-e "$CMDLINE" \
--guest_port 8000 \
--host_port 8000 \
diff --git a/golang-pie-httpserver/test.sh b/golang-pie-httpserver/test.sh
--- a/golang-pie-httpserver/test.sh
+++ b/golang-pie-httpserver/test.sh
@@ -3,7 +3,7 @@
THIS_DIR=$(readlink -f $(dirname $0))
CMDLINE=$($THIS_DIR/../cmdline.sh $THIS_DIR)

-$THIS_DIR/../../scripts/tests/test_http_app_with_curl_and_ab.py \
+$THIS_DIR/../../scripts/tests/test_http_app.py \
-e "$CMDLINE" \
--guest_port 8000 \
--host_port 8000 \
diff --git a/graalvm-httpserver/test.sh b/graalvm-httpserver/test.sh
--- a/graalvm-httpserver/test.sh
+++ b/graalvm-httpserver/test.sh
@@ -3,7 +3,7 @@
THIS_DIR=$(readlink -f $(dirname $0))
CMDLINE=$($THIS_DIR/../cmdline.sh $THIS_DIR)

-$THIS_DIR/../../scripts/tests/test_http_app_with_curl_and_ab.py \
+$THIS_DIR/../../scripts/tests/test_http_app.py \
-e "$CMDLINE" \
--guest_port 8000 \
--host_port 8000 \
diff --git a/graalvm-netty-plot/test.sh b/graalvm-netty-plot/test.sh
--- a/graalvm-netty-plot/test.sh
+++ b/graalvm-netty-plot/test.sh
@@ -3,7 +3,7 @@
THIS_DIR=$(readlink -f $(dirname $0))
CMDLINE=$($THIS_DIR/../cmdline.sh $THIS_DIR)

-$THIS_DIR/../../scripts/tests/test_http_app_with_curl_and_ab.py \
+$THIS_DIR/../../scripts/tests/test_http_app.py \
-e "$CMDLINE" \
--guest_port 8080 \
--host_port 8080 \
diff --git a/java-httpserver/test.sh b/java-httpserver/test.sh
--- a/java-httpserver/test.sh
+++ b/java-httpserver/test.sh
@@ -3,7 +3,7 @@
THIS_DIR=$(readlink -f $(dirname $0))
CMDLINE=$($THIS_DIR/../java_cmdline.sh $THIS_DIR)

-$THIS_DIR/../../scripts/tests/test_http_app_with_curl_and_ab.py \
+$THIS_DIR/../../scripts/tests/test_http_app.py \
-e "/usr/bin/java $CMDLINE" \
--guest_port 8000 \
--host_port 8000 \
diff --git a/jetty/test.sh b/jetty/test.sh
--- a/jetty/test.sh
+++ b/jetty/test.sh
@@ -3,7 +3,7 @@
THIS_DIR=$(readlink -f $(dirname $0))
CMDLINE=$($THIS_DIR/../cmdline.sh $THIS_DIR)

-$THIS_DIR/../../scripts/tests/test_http_app_with_curl_and_ab.py \
+$THIS_DIR/../../scripts/tests/test_http_app.py \
-e "$CMDLINE" \
--guest_port 8080 \
--host_port 8080 \
diff --git a/lighttpd/test.sh b/lighttpd/test.sh
--- a/lighttpd/test.sh
+++ b/lighttpd/test.sh
@@ -3,7 +3,7 @@
THIS_DIR=$(readlink -f $(dirname $0))
CMDLINE=$($THIS_DIR/../cmdline.sh $THIS_DIR)

-$THIS_DIR/../../scripts/tests/test_http_app_with_curl_and_ab.py \
+$THIS_DIR/../../scripts/tests/test_http_app.py \
-e "$CMDLINE" \
--guest_port 80 \
--host_port 8000 \
diff --git a/nginx/test.sh b/nginx/test.sh
--- a/nginx/test.sh
+++ b/nginx/test.sh
@@ -3,7 +3,7 @@
THIS_DIR=$(readlink -f $(dirname $0))
CMDLINE=$($THIS_DIR/../cmdline.sh $THIS_DIR)

-$THIS_DIR/../../scripts/tests/test_http_app_with_curl_and_ab.py \
+$THIS_DIR/../../scripts/tests/test_http_app.py \
-e "$CMDLINE" \
--guest_port 80 \
--host_port 8000 \
diff --git a/node-express-example/test.sh b/node-express-example/test.sh
--- a/node-express-example/test.sh
+++ b/node-express-example/test.sh
@@ -3,7 +3,7 @@
THIS_DIR=$(readlink -f $(dirname $0))
CMDLINE=$($THIS_DIR/../cmdline.sh $THIS_DIR)

-$THIS_DIR/../../scripts/tests/test_http_app_with_curl_and_ab.py \
+$THIS_DIR/../../scripts/tests/test_http_app.py \
-e "$CMDLINE" \
--guest_port 3000 \
--host_port 3000 \
diff --git a/node-socketio-example/test.sh b/node-socketio-example/test.sh
--- a/node-socketio-example/test.sh
+++ b/node-socketio-example/test.sh
@@ -3,7 +3,7 @@
THIS_DIR=$(readlink -f $(dirname $0))
CMDLINE=$($THIS_DIR/../cmdline.sh $THIS_DIR)

-$THIS_DIR/../../scripts/tests/test_http_app_with_curl_and_ab.py \
+$THIS_DIR/../../scripts/tests/test_http_app.py \
-e "$CMDLINE" \
--guest_port 3000 \
--host_port 3000 \
diff --git a/rust-httpserver/test.sh b/rust-httpserver/test.sh
--- a/rust-httpserver/test.sh
+++ b/rust-httpserver/test.sh
@@ -3,7 +3,7 @@
THIS_DIR=$(readlink -f $(dirname $0))
CMDLINE=$($THIS_DIR/../cmdline.sh $THIS_DIR)

-$THIS_DIR/../../scripts/tests/test_http_app_with_curl_and_ab.py \
+$THIS_DIR/../../scripts/tests/test_http_app.py \
-e "$CMDLINE" \
--guest_port 3000 \
--host_port 3000 \
diff --git a/spring-boot-example/test.sh b/spring-boot-example/test.sh
--- a/spring-boot-example/test.sh
+++ b/spring-boot-example/test.sh
@@ -3,7 +3,7 @@
THIS_DIR=$(readlink -f $(dirname $0))
CMDLINE=$($THIS_DIR/../cmdline.sh $THIS_DIR 'native')

-$THIS_DIR/../../scripts/tests/test_http_app_with_curl_and_ab.py \
+$THIS_DIR/../../scripts/tests/test_http_app.py \
-e "$CMDLINE" \
--guest_port 8080 \
--host_port 8080 \
diff --git a/tomcat/test.sh b/tomcat/test.sh
--- a/tomcat/test.sh
+++ b/tomcat/test.sh
@@ -3,7 +3,7 @@
THIS_DIR=$(readlink -f $(dirname $0))
CMDLINE=$($THIS_DIR/../java_cmdline.sh $THIS_DIR)

-$THIS_DIR/../../scripts/tests/test_http_app_with_curl_and_ab.py \
+$THIS_DIR/../../scripts/tests/test_http_app.py \
-e "/usr/bin/java $CMDLINE" \
--guest_port 8081 \
--host_port 8081 \
diff --git a/vertx/test.sh b/vertx/test.sh
--- a/vertx/test.sh
+++ b/vertx/test.sh
@@ -3,7 +3,7 @@
THIS_DIR=$(readlink -f $(dirname $0))
CMDLINE=$($THIS_DIR/../cmdline.sh $THIS_DIR 'native')

-$THIS_DIR/../../scripts/tests/test_http_app_with_curl_and_ab.py \
+$THIS_DIR/../../scripts/tests/test_http_app.py \
-e "$CMDLINE" \
--guest_port 8080 \
--host_port 8080 \
Reply all
Reply to author
Forward
0 new messages