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_path_completion_user_expansion fails when $HOME is / #171
Comments
@felixonmars Could you please provide more information regarding the specific environment you encountered this problem in including:
I tested this on the following setups and was unable to reproduce the problem ( and I both tried manually exporting HOME to be "/" and hard-coding the user_dir in the unit test to be "/" just to be sure):
For actual runtime behavior related to this, the readline library name and version is also of importance, but it shouldn't be relevant for the unit test. What your default shell is could potentially matter as well. In all cases I tested using the default OS bash version. |
@felixonmars Thanks for the bug report! I have now managed to reproduce the issue on my end. The problem occurs when we expand a user path and there is only a single tab-completion result. We will look into it further and work on a fix. Thanks again for finding this subtle issue! |
After looking into the issue some more, this is a bug in our unit test itself. The actual behavior at the command-line works as intended. I will push a fix for this shortly. |
@felixonmars If you can pull the last commit and test it on your end, I would appreciate it. Thanks again! |
Confirmed the fix, thanks so much :D |
The text was updated successfully, but these errors were encountered: