Skip to content

Commit

Permalink
chore: update spread test to latest release changes
Browse files Browse the repository at this point in the history
  • Loading branch information
letFunny committed Jul 12, 2024
1 parent 504ad63 commit fdecad7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/basic/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@ execute: |
mkdir -p $rootfs_folder
chisel cut --release ${OS}-${RELEASE} \
--root $rootfs_folder ca-certificates_data openssl_bins
# make sure $rootfs_folder is not empty
ls ${rootfs_folder}/*
# with the ca-certificates mutation script, we can assert that:
# - etc/ssl/certs/ca-certificates.crt is not empty
# - usr/share/ca-certificates/mozilla/ does not exist
test -s ${rootfs_folder}/etc/ssl/certs/ca-certificates.crt
test ! -d ${rootfs_folder}/usr/share/ca-certificates/mozilla
test -s ${rootfs_folder}/etc/ssl/certs/ca-certificates.crt
if [[ "${RELEASE}" != "24.04" ]]
then
test ! -d ${rootfs_folder}/usr/share/ca-certificates/mozilla
fi
# with the openssl pkg, both internal and external dependencies need to be met, for:
# - libc6_libs
Expand Down

0 comments on commit fdecad7

Please sign in to comment.