diff options
-rwxr-xr-x | test.sh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -15,6 +15,8 @@ cp -ra $HOME/Pictures/Anime $input ./gallery web $target :8080 & web=$! +trap "kill $web; wait $web" EXIT INT +sleep 0.25 call() (curl http://localhost:8080/api/$1 -X POST --data-binary @-) @@ -24,6 +26,3 @@ echo '{}' | call duplicates echo '{}' | call orphans echo '{"sha1":"d53fc82162fd19a6e7b92b401b08b7505dbf3dfd"}' | call info echo '{"sha1":"9539d9895ab8c25d76c321b23b8a327801a496bb"}' | call similar - -kill $web || : -wait $web |