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

Better document how to run things by hand #28

Open
NicMcPhee opened this issue Oct 11, 2021 · 0 comments
Open

Better document how to run things by hand #28

NicMcPhee opened this issue Oct 11, 2021 · 0 comments

Comments

@NicMcPhee
Copy link
Contributor

There was the following question on Slack in F21:

Does anyone know of a good way to see why file_disemvowel tests are failing? They seem to give generic errors and there is no way of knowing why something crashed.

I responded with:

Probably your best bet is to

  • Run file_disemvowel on a known file
  • Redirect the output to some file
  • Look at that file and see how it differs from what you expected

You might also find diff useful to compare your output against the expected output on the tests.

As an example, you could run:

./file_disemvowel < small_input > /tmp/our_output

followed by

diff /tmp/our_output small_output

to see how your output differed from what was expected.

Something like this should probably be in the write-up, or the "Tips & tricks" file.

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

No branches or pull requests

1 participant