summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils K <git@nkn-it.de>2021-03-15 19:44:21 +0100
committerNils K <git@nkn-it.de>2021-03-15 19:44:21 +0100
commit424c0131e7e590c8e19ca2f62650e0cc95379fc3 (patch)
tree8e61636309b17ffefab7a634e878d1b72df40715
parent8cbb7c25c392f39529ed68604d27b10fe54d6103 (diff)
test with demo images from this repo
-rwxr-xr-xtests.sh19
1 files changed, 2 insertions, 17 deletions
diff --git a/tests.sh b/tests.sh
index 48b2f93..adeaca9 100755
--- a/tests.sh
+++ b/tests.sh
@@ -9,23 +9,8 @@ if [ ! -e assert.sh ]; then
curl -f "https://raw.githubusercontent.com/lehmannro/assert.sh/v1.1/assert.sh" -o assert.sh
fi
-# Download demo files
-curl -f "https://www.nkn-it.de/gallery_shell_demo/Landscape_1.jpg" -o "Landscape_1.jpg"
-curl -f "https://www.nkn-it.de/gallery_shell_demo/Landscape_2.jpg" -o "Landscape_2.jpg"
-curl -f "https://www.nkn-it.de/gallery_shell_demo/Landscape_3.jpg" -o "Landscape_3.jpg"
-curl -f "https://www.nkn-it.de/gallery_shell_demo/Landscape_4.jpg" -o "Landscape_4.jpg"
-curl -f "https://www.nkn-it.de/gallery_shell_demo/Landscape_5.jpg" -o "Landscape_5.jpg"
-curl -f "https://www.nkn-it.de/gallery_shell_demo/Landscape_6.jpg" -o "Landscape_6.jpg"
-curl -f "https://www.nkn-it.de/gallery_shell_demo/Landscape_7.jpg" -o "Landscape_7.jpg"
-curl -f "https://www.nkn-it.de/gallery_shell_demo/Landscape_8.jpg" -o "Landscape_8.jpg"
-curl -f "https://www.nkn-it.de/gallery_shell_demo/Portrait_1.jpg" -o "Portrait_1.jpg"
-curl -f "https://www.nkn-it.de/gallery_shell_demo/Portrait_2.jpg" -o "Portrait_2.jpg"
-curl -f "https://www.nkn-it.de/gallery_shell_demo/Portrait_3.jpg" -o "Portrait_3.jpg"
-curl -f "https://www.nkn-it.de/gallery_shell_demo/Portrait_4.jpg" -o "Portrait_4.jpg"
-curl -f "https://www.nkn-it.de/gallery_shell_demo/Portrait_5.jpg" -o "Portrait_5.jpg"
-curl -f "https://www.nkn-it.de/gallery_shell_demo/Portrait_6.jpg" -o "Portrait_6.jpg"
-curl -f "https://www.nkn-it.de/gallery_shell_demo/Portrait_7.jpg" -o "Portrait_7.jpg"
-curl -f "https://www.nkn-it.de/gallery_shell_demo/Portrait_8.jpg" -o "Portrait_8.jpg"
+# Copy demo files
+cp images/demo/* ./
# shellcheck disable=SC1091
source assert.sh