diff options
-rwxr-xr-x | test.sh | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -18,14 +18,16 @@ web=$! echo '{"path":"/tmp/Gi"}' | \ curl http://localhost:8080/api/browse -X POST --data-binary @- -echo '{"sha1":"d53fc82162fd19a6e7b92b401b08b7505dbf3dfd"}' | \ -curl http://localhost:8080/api/info -X POST --data-binary @- -echo '{"sha1":"9539d9895ab8c25d76c321b23b8a327801a496bb"}' | \ -curl http://localhost:8080/api/similar -X POST --data-binary @- +echo '{}' | \ +curl http://localhost:8080/api/tags -X POST --data-binary @- echo '{}' | \ curl http://localhost:8080/api/duplicates -X POST --data-binary @- echo '{}' | \ curl http://localhost:8080/api/orphans -X POST --data-binary @- +echo '{"sha1":"d53fc82162fd19a6e7b92b401b08b7505dbf3dfd"}' | \ +curl http://localhost:8080/api/info -X POST --data-binary @- +echo '{"sha1":"9539d9895ab8c25d76c321b23b8a327801a496bb"}' | \ +curl http://localhost:8080/api/similar -X POST --data-binary @- -kill $web +kill $web || : wait $web |