Skip to content

Commit

Permalink
#85 test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 2, 2023
1 parent fe52065 commit f3c51f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions steps/zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ start=$(date +%s%N)

zip=cam-$(date +%Y-%m-%d).zip

echo "Archiving the data into ${zip} (may take some time) ..."

zip -qq -r "${zip}" "${TARGET}"
mv "${zip}" "${TARGET}"

Expand Down
2 changes: 1 addition & 1 deletion tests/steps/test-zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
set -e
set -o pipefail

"${LOCAL}/steps/zip.sh"
"${LOCAL}/steps/zip.sh" > /dev/null
test -e "${TARGET}"/*.zip
echo "👍🏻 A zip archive generated correctly"

0 comments on commit f3c51f7

Please sign in to comment.