Skip to content

Conversation

@sanchitram1
Copy link
Contributor

No description provided.

@jhheider
Copy link
Contributor

I don't think this test helps. If hexedit -h succeeded, the test would fail. And it doesn't understand why it failed. So a broken binary would pass this test, and an update that generated output without curses would fail it.

@sanchitram1
Copy link
Contributor Author

fair enough. the real question is how do you test interactive terminal tools like this one?

@jhheider
Copy link
Contributor

With rust programs, I usually add a --version flag using sed that doesn't launch the GUI.

@sanchitram1
Copy link
Contributor Author

An example? We (the package manager) add a patch and allow it to pass?

@jhheider
Copy link
Contributor

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.

2 participants