diff options
Diffstat (limited to 'tests.as-root/tarball-image-is-sensible.script')
-rwxr-xr-x | tests.as-root/tarball-image-is-sensible.script | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests.as-root/tarball-image-is-sensible.script b/tests.as-root/tarball-image-is-sensible.script index 1b4d60ae..e36cdb5a 100755 --- a/tests.as-root/tarball-image-is-sensible.script +++ b/tests.as-root/tarball-image-is-sensible.script @@ -29,6 +29,13 @@ set -eu tar=$("$SRCDIR/scripts/test-morph" --find-system-artifact \ build-morphology test:morphs tarball-links hello-tarball) +# Verify that the tar archive is not compressed. +if gunzip -t "$tar" > /dev/null +then + echo "ERROR: $tar is gzip'd!" 1>&2 + exit 1 +fi + extracted="$DATADIR/extracted" mkdir -p "$extracted" cd "$extracted" |