summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2020-12-02 15:51:09 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2021-02-02 19:56:46 +0100
commitf2c087449286812823d06d1b560fa947e438fa0d (patch)
tree97f9b02fb44ac8e19eaf5f65a5dd1f5871b9fa77 /test
parentb4b5e9bf97970e0efc4a994de96066a92e3a9b8f (diff)
Guess compressor only if no AR nember with exact name exists
Explicitly opening a tar member is a bit harder than it needs to be as you have to remove the compressor extension so that it can be guessed here gain potentially choosing the wrong member. Doesn't really matter for deb packages of course as the member count is pretty low and strongly defined, but testing is easier this way. It also finally fixes an incorrectly formatted error message.
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-apt-get-install-deb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test-apt-get-install-deb b/test/integration/test-apt-get-install-deb
index 7fa5ca3e7..6fde00708 100755
--- a/test/integration/test-apt-get-install-deb
+++ b/test/integration/test-apt-get-install-deb
@@ -23,7 +23,7 @@ mv foo.rpm foo.deb
for exe in apt aptget; do
for cmd in install remove purge upgrade full-upgrade; do
testfailuremsg "E: Invalid archive signature
-E: Internal error, could not locate member control.tar.{zstlz4gzxzbz2lzma}
+E: Internal error, could not locate member control.tar{.zst,.lz4,.gz,.xz,.bz2,.lzma,}
E: Could not read meta data from ${TMPWORKINGDIRECTORY}/foo.deb
E: The package lists or status file could not be parsed or opened." $exe $cmd ./foo.deb
done