Issue#104 Create Test verifying screenshot pulling works
This commit is contained in:
parent
69f5f15c3a
commit
bae8c0fc96
8 changed files with 212 additions and 80 deletions
13
app/verifyfiles.sh
Executable file
13
app/verifyfiles.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue