Browse Source

Added the .img extension to images to unzip in the test-utils script

Changelog: None

Signed-off-by: Ole Petter <ole.orhagen@northern.tech>
2.0.x
Ole Petter 5 years ago
parent
commit
6228f6221a
No known key found for this signature in database GPG Key ID: A7100375167A7B21
  1. 4
      scripts/test/test-utils.sh

4
scripts/test/test-utils.sh

@ -80,10 +80,10 @@ run_tests() {
# Need to decompress images built with MENDER_COMPRESS_DISK_IMAGE=gzip before
# running tests.
if [ -f "deploy/${converted_image_name}.gz" ]; then
if [ -f "deploy/${converted_image_name}.img.gz" ]; then
# sudo is needed because the image is created using docker-mender-convert
# which sets root permissions on the image
sudo gunzip --force "deploy/${converted_image_name}.gz"
sudo gunzip --force "deploy/${converted_image_name}.img.gz"
fi
# MEN-3051: Rename the files back to .sdimg, as the sdimg extension has meaning

Loading…
Cancel
Save