mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
bpo-29185: Fix test_distutils
failures on Android (GH-4438)
* Run gzip with separate command line options (Android understands '-f9' as the name of a file). * Creation of a hard link is controled by SELinux on Android.
This commit is contained in:
parent
9001d1f438
commit
d34d8fc24f
2 changed files with 10 additions and 2 deletions
|
@ -162,7 +162,7 @@ class ArchiveUtilTestCase(support.TempdirManager,
|
|||
# now create another tarball using `tar`
|
||||
tarball2 = os.path.join(tmpdir, 'archive2.tar.gz')
|
||||
tar_cmd = ['tar', '-cf', 'archive2.tar', 'dist']
|
||||
gzip_cmd = ['gzip', '-f9', 'archive2.tar']
|
||||
gzip_cmd = ['gzip', '-f', '-9', 'archive2.tar']
|
||||
old_dir = os.getcwd()
|
||||
os.chdir(tmpdir)
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue