|
@@ -1,6 +1,7 @@
|
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ ! -x bin/httpd -o ! -x bin/curl ]; then
|
|
if [ ! -x bin/httpd -o ! -x bin/curl ]; then
|
|
|
|
|
+ make clean
|
|
|
make httpd curl
|
|
make httpd curl
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
@@ -53,3 +54,7 @@ bin/curl -v localhost:8080/v1/api/test -F 'bool=1 int=123 float=3.14 string=hell
|
|
|
read -n1
|
|
read -n1
|
|
|
bin/curl -v -X DELETE localhost:8080/v1/api/group/test/user/123
|
|
bin/curl -v -X DELETE localhost:8080/v1/api/group/test/user/123
|
|
|
|
|
|
|
|
|
|
+# see logs
|
|
|
|
|
+read -n1
|
|
|
|
|
+tail -n 100 logs/httpd*.log
|
|
|
|
|
+
|