[Python-bugs-list] [ python-Bugs-460613 ] test_commands fails on SGI

noreply@sourceforge.net noreply@sourceforge.net
Mon, 01 Apr 2002 15:57:25 -0800


Bugs item #460613, was opened at 2001-09-11 04:12
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=460613&group_id=5470

>Category: Python Library
Group: Python 2.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Sjoerd Mullender (sjoerd)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: test_commands fails on SGI

Initial Comment:
test_commands fails on SGI.
The problem is that the test expects /bin/ls to be a
file, whereas on IRIX it's a symbolic link.

For completeness, here is the output of running the
test:
+ ./python ../Lib/test/regrtest.py test_commands.py
test_commands
test test_commands failed -- Traceback (most recent
call last):
  File "../Lib/test/test_commands.py", line 43, in
test_getstatus
    self.assert_(re.match(pat, getstatus("/bin/ls"),
re.VERBOSE))
  File
"/ufs/sjoerd/src/Python/dist/src/Lib/unittest.py", line
256, in failUnless
    if not expr: raise self.failureException, msg
AssertionError

1 test failed:
    test_commands


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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-04-01 18:57

Message:
Logged In: YES 
user_id=3066

Removed dependency on system configuration in
Lib/test/test_commands.py revision 1.4, using patch provided
in bug #497160.

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

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-12-29 09:57

Message:
Logged In: YES 
user_id=6380

Related to [ #497160 ] test_commands assumes ls is in /bin.

Assigned to Fred Drake, who wrote the test suite.

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

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