Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6
bmap-tools
bmap-tools-tests-Pass-c-k-options-to-zstd-too.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bmap-tools-tests-Pass-c-k-options-to-zstd-too.patch of Package bmap-tools
From 18f21738a89a30b335421dc1292bde81e56853de Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@debian.org> Date: Thu, 28 Oct 2021 11:16:39 +0100 Subject: [PATCH] tests: Pass -c -k options to zstd, too Otherwise we get interactive prompts during testing, like this: zstd: /*stdin*\: unexpected end of file zstd: /*stdin*\: unexpected end of file zstd: /*stdin*\: unexpected end of file zstd: /*stdin*\: unexpected end of file zstd: .../.pybuild/cpython3_3.9/build/4Khole_idts5mgb.img.zst already exists; overwrite (y/n) ? Signed-off-by: Simon McVittie <smcv@debian.org> --- tests/test_api_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_api_base.py b/tests/test_api_base.py index 11adeaa..39b83fa 100644 --- a/tests/test_api_base.py +++ b/tests/test_api_base.py @@ -91,7 +91,7 @@ def _generate_compressed_files(file_path, delete=True): ("xz", None, ".xz", "-c -k"), ("lzop", None, ".lzo", "-c -k"), ("lz4", None, ".lz4", "-c -k"), - ("zstd", None, ".zst", ""), + ("zstd", None, ".zst", "-c -k"), # The "-P -C /" trick is used to avoid silly warnings: # "tar: Removing leading `/' from member names" ("bzip2", "tar", ".tar.bz2", "-c -j -O -P -C /"), -- 2.41.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor