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

Broken "list ." command #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Broken "list ." command #19

wants to merge 2 commits into from

Conversation

gscelsi
Copy link

@gscelsi gscelsi commented Sep 27, 2018

dd81b32 is a simple modification that fixes the behaviour of "list .".

While I was at it, with dd81b32 I also fixed the number of lines printed as a result of commands such as "list 25," and similar. According to my understanding the number of lines printed when one of the range limits is left blank should always be "listsize" (10 by default), while in many cases the number was actually 11.

@rocky
Copy link
Owner

rocky commented Sep 27, 2018

The changes look good - thanks! However the CI tests fail. In commit bc94ea4 I have addressed appveyor failure. As for the other failure, I think all adjusting listsize in https://github.com/rocky/python3-trepan/blob/master/test/unit/test-list.py#L13 and/or the computations using that, eg. line 56 is needed. python3-trepan/test/unit/test-list.py can be run from python on its own to check for other things that need to be changed.

If you'd do that we could merge this in without causing CI breakage. Thanks, again.

@gscelsi
Copy link
Author

gscelsi commented Oct 1, 2018 via email

@gscelsi
Copy link
Author

gscelsi commented Oct 1, 2018

Hold on, please ignore my previous message, I just found there is more to it. Will be back soon.

@rocky
Copy link
Owner

rocky commented Oct 1, 2018

https://travis-ci.org/rocky/python3-trepan/jobs/433918855#L611 is about changing the listsize value in the test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants