Skip to content

QA - ftp_rawlist - check list return value #9012

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

Closed

Conversation

juan-morales
Copy link
Contributor

@juan-morales juan-morales commented Jul 14, 2022

I am not sure if is wort the effort honestly.

Extension: ftp
Function: ftp_rawlist

I pretend to generate a code coverage on the part that we generate the result list of entries as shown in the picture:

image

That picture was the result after my change (I lost the picture of before my change)

But I had to adjust server.inc file, using kind of like the same code used for the NLIST ftp command in the same file.

Thanks in advance.

@@ -1,7 +1,5 @@
--TEST--
Testing ftp_rawlist basic functionality
--CREDITS--
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont know if doing this was right honeslty ... I was told that --CREDITS-- was not suppose to be use anymore

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We usually do not remove already existing CREDITS, but in this case it might be okay. @carusogabriel, or do you object?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm okay, no worries from my side on removing all mine CREDITS in tests :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We usually do not remove already existing CREDITS, but in this case it might be okay. @carusogabriel, or do you object?

That is what I thought but I was not sure, I will add it again, is ethically correct to keep them

Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I'd say this is a pretty important test, so it's nice to have it.

I just noticed that apparently all ext/ftp tests (but one) are skipped on AppVeyor. Do we run them elsewhere.

PS: the FTP tests need ext/pcntl :(

@@ -1,7 +1,5 @@
--TEST--
Testing ftp_rawlist basic functionality
--CREDITS--
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We usually do not remove already existing CREDITS, but in this case it might be okay. @carusogabriel, or do you object?

@cmb69 cmb69 closed this in 928624e Jul 15, 2022
@cmb69
Copy link
Member

cmb69 commented Jul 15, 2022

Thank you!

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

Successfully merging this pull request may close these issues.

3 participants