diff options
| author | xdegaye <xdegaye@gmail.com> | 2017-11-18 18:17:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-18 18:17:16 +0100 |
| commit | 9d391e77e247e4718d94c3f6000d34832576d356 (patch) | |
| tree | fff852923ea480102fd15e6876c7d03752736092 /tests/test_archive_util.py | |
| parent | 50a9c568d04fda21590254e60a27227b9a6eb650 (diff) | |
| download | python-setuptools-git-9d391e77e247e4718d94c3f6000d34832576d356.tar.gz | |
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.
Diffstat (limited to 'tests/test_archive_util.py')
| -rw-r--r-- | tests/test_archive_util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_archive_util.py b/tests/test_archive_util.py index 02fa1e27..14ba4ca3 100644 --- a/tests/test_archive_util.py +++ b/tests/test_archive_util.py @@ -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: |
