This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_commands fails on SGI
Type: Stage:
Components: Library (Lib) Versions: Python 2.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: fdrake Nosy List: fdrake, gvanrossum, sjoerd
Priority: normal Keywords:

Created on 2001-09-11 08:12 by sjoerd, last changed 2022-04-10 16:04 by admin. This issue is now closed.

Messages (3)
msg6501 - (view) Author: Sjoerd Mullender (sjoerd) * (Python committer) Date: 2001-09-11 08:12
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
msg6502 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2001-12-29 14:57
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.
msg6503 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2002-04-01 23:57
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.
History
Date User Action Args
2022-04-10 16:04:25adminsetgithub: 35154
2001-09-11 08:12:09sjoerdcreate