[Python-bugs-list] [ python-Bugs-690341 ] test_tarfile fails on MacOS9

SourceForge.net noreply@sourceforge.net
Thu, 20 Feb 2003 14:21:49 -0800


Bugs item #690341, was opened at 2003-02-20 23:21
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=690341&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jack Jansen (jackjansen)
Assigned to: Neal Norwitz (nnorwitz)
Summary: test_tarfile fails on MacOS9

Initial Comment:
test_tarfile fails in MacPython-OS9. The problem seems to be pathname-related, and I'm not sure whether the problem is with the test or with the tarfile module itself.

Various of the tests (test_seek, test_readlines) expect to find a file called, for example, "0-REGTYPE-TEXT", while the archive holds a file "/0-REGTYPE-TEXT". Apparently the tarfile module has some support for os.sep being different than "/", but not enough.

An added problem (or maybe the only problem?) may be that on the mac there are no files at the "root", only directories (disks, actually). So while "/tmp" is representable as "tmp:" this doesn't really work for files as they would be interpreted as directories.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=690341&group_id=5470