Skip to content

Commit

Permalink
yegor256#308 Adding tests for new feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Raleksan committed Sep 22, 2024
1 parent 8f7ab70 commit a6eb434
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/steps/test-zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ stdout=$2
} > "${stdout}" 2>&1
echo "👍🏻 A zip archive generated correctly"

{
mkdir -p "${TARGET}/something"
zip=${TARGET}/cam-$(date +%Y-%m-%d).zip
"${LOCAL}/steps/zip.sh"
list=$(unzip -l "${zip}")
echo "${list}" | grep "cam-*/" > /dev/null
} > "${stdout}" 2>&1
echo "👍🏻 A zip archive contains the CaM repository"

{
mkdir -p "${TARGET}/measurements/a/b/baam.m.cloc"
mkdir -p "${TARGET}/temp/a/b/hello.txt"
Expand Down

0 comments on commit a6eb434

Please sign in to comment.