Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_commands fails on SGI #35154

Closed
sjoerdmullender opened this issue Sep 11, 2001 · 3 comments
Closed

test_commands fails on SGI #35154

sjoerdmullender opened this issue Sep 11, 2001 · 3 comments
Assignees
Labels
stdlib Python modules in the Lib dir

Comments

@sjoerdmullender
Copy link
Member

BPO 460613
Nosy @gvanrossum, @sjoerdmullender, @freddrake

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/freddrake'
closed_at = <Date 2002-04-01.23:57:25.000>
created_at = <Date 2001-09-11.08:12:09.000>
labels = ['library']
title = 'test_commands fails on SGI'
updated_at = <Date 2002-04-01.23:57:25.000>
user = 'https://github.com/sjoerdmullender'

bugs.python.org fields:

activity = <Date 2002-04-01.23:57:25.000>
actor = 'fdrake'
assignee = 'fdrake'
closed = True
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2001-09-11.08:12:09.000>
creator = 'sjoerd'
dependencies = []
files = []
hgrepos = []
issue_num = 460613
keywords = []
message_count = 3.0
messages = ['6501', '6502', '6503']
nosy_count = 3.0
nosy_names = ['gvanrossum', 'sjoerd', 'fdrake']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue460613'
versions = ['Python 2.2']

@sjoerdmullender
Copy link
Member Author

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

@sjoerdmullender sjoerdmullender added the stdlib Python modules in the Lib dir label Sep 11, 2001
@sjoerdmullender sjoerdmullender added the stdlib Python modules in the Lib dir label Sep 11, 2001
@gvanrossum
Copy link
Member

Logged In: YES
user_id=6380

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

Assigned to Fred Drake, who wrote the test suite.

@freddrake
Copy link
Member

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 bpo-497160.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir
Projects
None yet
Development

No branches or pull requests

3 participants