Issue#104 Create Test verifying screenshot pulling works

This commit is contained in:
Gergely Hegedus 2022-07-13 21:33:45 +03:00
parent 69f5f15c3a
commit bae8c0fc96
8 changed files with 212 additions and 80 deletions

13
app/verifyfiles.sh Executable file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env sh
# if given folder is empty throws error
if [ -d "$1" ]; then
if [ $(ls -A $1 | wc -l) ];
then
echo ""
else
exit 1
fi
else
exit 1
fi