diff options
author | Lars Gustäbel <lars@gustaebel.de> | 2012-04-24 19:09:17 (GMT) |
---|---|---|
committer | Lars Gustäbel <lars@gustaebel.de> | 2012-04-24 19:09:17 (GMT) |
commit | 9f478c021dc499b0d23ee418c0dcc6b5076524aa (patch) | |
tree | 3ebaca4c7471baecc8eff3eb70b163da49fa9bbe /Lib/test/test_tarfile.py | |
parent | 1d642d2af1809cd3a37a22488755f337fb1a867a (diff) | |
parent | 1ef9eda7bcddc494a250a6fb262c0dd3327dc443 (diff) | |
download | cpython-9f478c021dc499b0d23ee418c0dcc6b5076524aa.zip cpython-9f478c021dc499b0d23ee418c0dcc6b5076524aa.tar.gz cpython-9f478c021dc499b0d23ee418c0dcc6b5076524aa.tar.bz2 |
Merge with 3.2: Issue #14160: TarFile.extractfile() failed to resolve symbolic
links when the links were not located in an archive subdirectory.
Diffstat (limited to 'Lib/test/test_tarfile.py')
-rw-r--r-- | Lib/test/test_tarfile.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py index ce543df..4967ad0 100644 --- a/Lib/test/test_tarfile.py +++ b/Lib/test/test_tarfile.py @@ -171,6 +171,9 @@ class UstarReadTest(ReadTest): def test_fileobj_symlink2(self): self._test_fileobj_link("./ustar/linktest2/symtype", "ustar/linktest1/regtype") + def test_issue14160(self): + self._test_fileobj_link("symtype2", "ustar/regtype") + class CommonReadTest(ReadTest): |