summaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-12-09 01:32:32 +0100
committerPřemysl Eric Janouch <p@janouch.name>2023-12-09 01:57:20 +0100
commit5c6a5b3ec2e820ec75c51ff025624520f714bb1e (patch)
tree69bd2f9490b9d77860ac22142f3e97a9792f3566 /test.sh
parent3c299f237d96a4fd3154fb4893525622c6bb673a (diff)
downloadgallery-5c6a5b3ec2e820ec75c51ff025624520f714bb1e.tar.gz
gallery-5c6a5b3ec2e820ec75c51ff025624520f714bb1e.tar.xz
gallery-5c6a5b3ec2e820ec75c51ff025624520f714bb1e.zip
Add a test
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/test.sh b/test.sh
new file mode 100755
index 0000000..adacca5
--- /dev/null
+++ b/test.sh
@@ -0,0 +1,11 @@
+#!/bin/sh -xe
+make gallery
+target=/tmp/G input=/tmp/Gi
+rm -rf $target $input
+
+mkdir -p $target
+cp -r $HOME/Pictures/Anime $input
+./gallery init $target
+./gallery import $target $input
+./gallery thumbnail $target
+./gallery dhash $target $HOME/Projects/fiv/build/hash