aboutsummaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/test.sh b/test.sh
index 3609de4..84d4016 100755
--- a/test.sh
+++ b/test.sh
@@ -10,7 +10,7 @@ cp -ra $HOME/Pictures/Anime $input
#./gallery import $target $input
./gallery sync $target $input
./gallery thumbnail $target
-./gallery dhash $target $HOME/Projects/fiv/build/hash
+./gallery dhash $target
./gallery tag $target autotagger "DanBooru autotagger" \
< ../build-db/autotagger.tsv
@@ -23,6 +23,10 @@ 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/duplicates -X POST --data-binary @-
+echo '{}' | \
+curl http://localhost:8080/api/orphans -X POST --data-binary @-
kill $web
wait $web