Skip to content

Commit a6eb434

Browse files
committed
#308 Adding tests for new feature
1 parent 8f7ab70 commit a6eb434

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/steps/test-zip.sh

+9
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@ stdout=$2
3232
} > "${stdout}" 2>&1
3333
echo "👍🏻 A zip archive generated correctly"
3434

35+
{
36+
mkdir -p "${TARGET}/something"
37+
zip=${TARGET}/cam-$(date +%Y-%m-%d).zip
38+
"${LOCAL}/steps/zip.sh"
39+
list=$(unzip -l "${zip}")
40+
echo "${list}" | grep "cam-*/" > /dev/null
41+
} > "${stdout}" 2>&1
42+
echo "👍🏻 A zip archive contains the CaM repository"
43+
3544
{
3645
mkdir -p "${TARGET}/measurements/a/b/baam.m.cloc"
3746
mkdir -p "${TARGET}/temp/a/b/hello.txt"

0 commit comments

Comments
 (0)