-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Test: test_two_levels_deep fails when /tmp is symlink #231
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
Comments
Original comment by koobs (Bitbucket: koobs, GitHub: koobs): The following two tests, which were disabled, but not fixed in previous versions, currently fail in 19.6.2:
|
Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco): So once again I've marked this ticket as closed, though I'm not happy with what I found. I the above changeset, the tests no longer fail, but not because the underlying issue was addressed, but because pytest's tmpdir fixture automatically resolves the tmpdir to the realpath. This reveals two flaws:
I sympathize with Erik's logic. I would have thought the use of a symlinked tmpdir would have been sufficient to elicit the failure, but it is not. I welcome any advice to elucidate the cause. |
Original comment by embray (Bitbucket: embray, GitHub: embray): I'm a little confused, because my original version of the test didn't use the py.test Why the test is failing now is confusing to me though, because when I wrote it I did check that it reproduced the original problem, and that my fix fixed it. I'm sure I could have missed a case though. |
…he tempdir is a symlink (this does not explicitly test that /tmp itself is a symlink, but the effect is the same--only one of the path levels needs to be a symlink to reproduce this isssue)
…epts for clarity. Incidentally, this also fixes #231.
Originally reported by: koobs (Bitbucket: koobs, GitHub: koobs)
The following test fails when /tmp is a symlink:
lrwxr-xr-x 1 root wheel 8 Apr 14 2013 tmp@ -> /var/tmp
Testing setuptools 5.4.1, could not set issue Version correctly ("5.4.1" option doesn't exist)
The text was updated successfully, but these errors were encountered: